Registry / logging / contextual-logger

contextual-logger

JSON →
library1.5.0rbrubygemsunverified

A way to add context to the logs you have.

gem install contextual_logger
INSTALL
IMPORT
SIG · CONTEXTUAL-LOGGER
C
contextual-logger
loggingrubyv1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ContextualLogger
✓ require 'contextual_logger'

Add contextual information to log messages

require 'contextual_logger' logger = ContextualLogger.new(STDOUT) logger.with_context(user: 'john') { |log| log.info('Action performed') }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
49 hits · last 30 days
node
40
OpenAI (training)
1
Resources
contextual-logger — gem install contextual-logger · libregistry