gitlab-org--gitlab-foss/lib/gitlab/git_logger.rb

12 lines
240 B
Ruby
Raw Normal View History

2012-09-11 16:24:53 -04:00
module Gitlab
class GitLogger < Gitlab::Logger
2014-10-04 11:09:06 -04:00
def self.file_name_noext
'githost'
2012-09-11 16:24:53 -04:00
end
def format_message(severity, timestamp, progname, msg)
"#{timestamp.to_s(:long)} -> #{severity} -> #{msg}\n"
end
end
end