In my logls logger configuration, the current time and UUID are written, for example:
config.logger = ActiveSupport::TaggedLogging.new(Logger.new("#{Rails.root}/log/#{ENV['RAILS_ENV']}.log", 'daily')) config.log_tags = [Proc.new {Time.now.strftime('%Y-%m-%d %H:%M:%S.%L')}, :uuid]
Is there a way to log the current level of the message log?
ie, if I call logger.debug, the [DEBUG] tag is added to the message.
Ovesh
source share