2020-01-13 16:07:39 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
class AppTextLogger < Gitlab::Logger
|
|
|
|
def self.file_name_noext
|
|
|
|
'application'
|
|
|
|
end
|
|
|
|
|
|
|
|
def format_message(severity, timestamp, progname, msg)
|
2020-01-14 10:07:55 -05:00
|
|
|
"#{timestamp.utc.iso8601(3)}: #{msg}\n"
|
2020-01-13 16:07:39 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|