Registry / logging / log-switch

log-switch

JSON →
library1.0.0rbrubygemsunverified

Extends a class with singleton-style logging that can be easily turned on and off.

gem install log_switch
INSTALL
IMPORT
SIG · LOG-SWITCH
L
log-switch
loggingrubyv1.0.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.

LogSwitch
require 'log_switch'

Add toggleable logging to a class.

require 'log_switch' class MyClass include LogSwitch end MyClass.log 'Hello'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
log-switch — gem install log-switch · libregistry