gitlab-org--gitlab-foss/lib/gitlab/git_logger.rb
2014-10-06 00:14:46 +02:00

11 lines
240 B
Ruby

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