gitlabhq/lib/gitlab/git_logger.rb
2012-09-11 23:24:53 +03:00

11 lines
238 B
Ruby

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