2018-12-13 13:39:08 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
module Gitlab
|
|
|
|
class GitLogger < Gitlab::Logger
|
2015-04-26 12:48:37 +05:30
|
|
|
def self.file_name_noext
|
|
|
|
'githost'
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
def format_message(severity, timestamp, progname, msg)
|
|
|
|
"#{timestamp.to_s(:long)} -> #{severity} -> #{msg}\n"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|