Skip to content

Commit

Permalink
whitespace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
grf committed Aug 4, 2011
1 parent 17f84e7 commit 983d8c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/datyl/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def Logger.facility= facility

def Logger.err message, env = {}
return unless (@@virtual_hostname and @@service_name)
Log4r::Logger[@@virtual_hostname].error prefix(env) + message.chomp
Log4r::Logger[@@virtual_hostname].error prefix(env) + ' ' + message.chomp
end

# Logger.warn MESSAGE, [ ENV ]
Expand All @@ -170,7 +170,7 @@ def Logger.err message, env = {}

def Logger.warn message, env = {}
return unless (@@virtual_hostname and @@service_name)
Log4r::Logger[@@virtual_hostname].warn prefix(env) + message.chomp
Log4r::Logger[@@virtual_hostname].warn prefix(env) + ' ' + message.chomp
end

# Logger.info MESSAGE, [ ENV ]
Expand All @@ -181,7 +181,7 @@ def Logger.warn message, env = {}

def Logger.info message, env = {}
return unless (@@virtual_hostname and @@service_name)
Log4r::Logger[@@virtual_hostname].info prefix(env) + message.chomp
Log4r::Logger[@@virtual_hostname].info prefix(env) + ' ' + message.chomp
end

# While we normally use the class methods to write our own log
Expand Down

0 comments on commit 983d8c6

Please sign in to comment.