module KeyValueLogging
Wraps any standard Logger object to provide tagging capabilities.
logger = KeyValueTaggedLogging.new(Logger.new(STDOUT)) logger.tagged('location' => 'Cologne') { logger.info 'Stuff' } # Logs "Stuff location=Cologne"
Constants
- VERSION