BigW Consortium Gitlab

git_logger.rb 240 Bytes
Newer Older
randx committed
1 2
module Gitlab
  class GitLogger < Gitlab::Logger
Ciro Santilli committed
3 4
    def self.file_name_noext
      'githost'
randx committed
5 6 7 8 9 10 11
    end

    def format_message(severity, timestamp, progname, msg)
      "#{timestamp.to_s(:long)} -> #{severity} -> #{msg}\n"
    end
  end
end