gitlab-org--gitlab-foss/lib/gitlab/app_text_logger.rb

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