gitlab-org--gitlab-foss/lib/gitlab/git_logger.rb
2018-10-22 07:00:50 +00:00

13 lines
271 B
Ruby

# frozen_string_literal: true
module Gitlab
class GitLogger < Gitlab::Logger
def self.file_name_noext
'githost'
end
def format_message(severity, timestamp, progname, msg)
"#{timestamp.to_s(:long)} -> #{severity} -> #{msg}\n"
end
end
end