lib/semantic_logger/appender/file.rb
# Pass log calls to the underlying Rails, log4j or Ruby logger
#  trace entries are mapped to debug since :trace is not supported by the
#  Ruby or Rails Loggers
Pass log calls to the underlying Rails, log4j or Ruby logger
trace entries are mapped to debug since :trace is not supported by the
Ruby or Rails Loggers
Pass log calls to the underlying Rails log4j or Ruby logger trace entries are mapped to debug since : trace is not supported by the Ruby or Rails Loggers
def log(log)
        @log.write(formatter.call(log, self) << "\n")
        true
      end
def log ( log ) @log . write ( formatter . call ( log , self ) << "\n" ) true end
Pass log calls to the underlying Rails, log4j or Ruby logger
trace entries are mapped to debug since :trace is not supported by the
Ruby or Rails Loggers
Pass log calls to the underlying Rails log4j or Ruby logger trace entries are mapped to debug since : trace is not supported by the Ruby or Rails Loggers
# Since only one appender thread will be writing to the file at a time # it is not necessary to protect access to the file with a semaphore # Allow this logger to filter out log levels lower than it's own
log