9 lines
179 B
Ruby
9 lines
179 B
Ruby
module Gitlab
|
|
class Logger
|
|
def self.error(message)
|
|
@@logger ||= ::Logger.new(File.join(Rails.root, "log/githost.log"))
|
|
@@logger.error(message)
|
|
end
|
|
end
|
|
end
|