class FlatKit::Logger
Public Class Methods
for_io(io)
click to toggle source
# File lib/flat_kit/logger.rb, line 18 def self.for_io(io) ::Logger.new(io, formatter: LogFormatter.new) end
for_path(path)
click to toggle source
# File lib/flat_kit/logger.rb, line 22 def self.for_path(path) io = File.open(path.to_s, "a") for_io(io) end