debian-mirror-gitlab/lib/gitlab/app_text_logger.rb

14 lines
265 B
Ruby
Raw Normal View History

2020-03-09 13:42:32 +05:30
# 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