debian-mirror-gitlab/lib/gitlab/git_logger.rb
2015-04-26 09:18:37 +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