lib/filum/logger.rb in filum-2.0.0 vs lib/filum/logger.rb in filum-2.1.0

- old
+ new

@@ -17,9 +17,10 @@ Thread.current[:context_id] = context_id end private def create_log_directory + return unless @logfile.is_a?(String) dir = File.dirname(@logfile) unless File.directory?(dir) FileUtils.mkdir_p(dir) end end