debian-mirror-gitlab/lib/gitlab/app_text_logger.rb
2020-03-13 15:44:24 +05:30

13 lines
265 B
Ruby

# frozen_string_literal: true
module Gitlab
class AppTextLogger < Gitlab::Logger
def self.file_name_noext
'application'
end
def format_message(severity, timestamp, progname, msg)
"#{timestamp.utc.iso8601(3)}: #{msg}\n"
end
end
end