module FlatKit
Constants
- VERSION
Public Class Methods
log_to(destination = $stderr)
click to toggle source
# File lib/flat_kit/logger.rb, line 28 def self.log_to(destination = $stderr) if destination.kind_of?(::IO) then @logger = ::FlatKit::Logger.for_io(destination) else @logger = ::FlatKit::Logger.for_path(destination) end end
logger()
click to toggle source
# File lib/flat_kit/logger.rb, line 36 def self.logger @logger ||= ::FlatKit::Logger.for_io($stderr) end