0
@@ -16,14 +16,14 @@ require "time" # httpdate
0
# DataMapper.logger.info(message<String>)
0
# DataMapper.logger.debug(message<String>)
0
# DataMapper.logger.flush
0
# Remove the current log object
0
# DataMapper.logger.close
0
# ==== Private DataMapper Logger API
0
# To initialize the logger you create a new object, proxies to set_log.
0
# DataMapper::Logger.new(log{String, IO},level{Symbol, String})
0
@@ -49,10 +49,10 @@ module DataMapper
0
# debug: low-level information for developers
0
# DataMapper::Logger::LEVELS[:fatal, :error, :warn, :info, :debug]
0
@@ -115,7 +115,7 @@ module DataMapper
0
# To replace an existing logger with a new one:
0
# DataMapper::Logger.set_log(log{String, IO},level{Symbol, String})
0
# Either an IO object or a name of a logfile.
0
@@ -156,8 +156,8 @@ module DataMapper
0
- # Appends a string and log level to logger's buffer.
0
- # Note that the string is discarded if the string's log level less than the logger's log level.
0
+ # Appends a string and log level to logger's buffer.
0
+ # Note that the string is discarded if the string's log level less than the logger's log level.
0
# Note that if the logger is aio capable then the logger will use non-blocking asynchronous writes.
0
@@ -176,7 +176,7 @@ module DataMapper
0
# Generate the following logging methods for DataMapper.logger as described in the api:
0
- # :fatal, :error, :warn, :info, :debug
0
+ # :fatal, :error, :warn, :info, :debug
0
LEVELS.each_pair do |name, number|
0
class_eval <<-LEVELMETHODS, __FILE__, __LINE__
0
@@ -192,5 +192,5 @@ module DataMapper
0
end # module DataMapper