Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git_logger.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9e02ccc0f44e2552c4e4df50520da18ec9521782 (plain)
1
2
3
4
5
6
7
8
9
10
11
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