debian-mirror-gitlab/lib/gitlab/git_logger.rb
2018-12-13 13:39:08 +05:30

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