lib/ refactoring. Module Gitlabhq renamed to Gitlab
This commit is contained in:
parent
8ceb94081a
commit
3272620f72
20 changed files with 87 additions and 85 deletions
8
lib/gitlab/logger.rb
Normal file
8
lib/gitlab/logger.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
module Gitlab
|
||||
class Logger
|
||||
def self.error(message)
|
||||
@@logger ||= ::Logger.new(File.join(Rails.root, "log/githost.log"))
|
||||
@@logger.error(message)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue