FUTURE.rb in semantic_logger-0.2.0 vs FUTURE.rb in semantic_logger-0.3.0
- old
+ new
@@ -1,27 +1,15 @@
-# Return the logger for a specific class, supports class specific log levels
-# Clarity::Logger.logger(MyClass)
-# # OR
-# Clarity::Logger.logger('MyClass')
-#
# # Switch to slf4j as the underlying implementation
# Clarity::Logger.impl = slf4j
#
# logging.yml
#
# # Replace the Rails Logger
# Rails.logger = Clarity::Logger.logger(Rails)
#
#
#
-# # Thread specific context information to be logged with every log entry
-# #
-# # Add metadata information within a block to all log calls on This Thread
-# logger.with_metadata(:tracking_number=>12345) do
-# # Any log entries within this block will have this metadata added to it
-# logger.debug('Hello World', :result => 'blah')
-# end
#
# # If a block cannot be used to set the scope of context
# # Set global metadata for every log entry on this machine
# logger['host_name'] = 'blah'
# logger.metadata = { 'host_name' => 'blah' }