-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
It would be nice if one logger could adopt another:
var loglog = require('loglog');
var eLogger = loglog.create('Events');
var rLogger = loglog.create('Request');
var reLogger = rLogger.adopt( eLogger );
// [Request.Events] - ohai
reLogger.info('ohai');This would work like normal inheritance, but just the other direction. All data and parents from the child will be appended to the parent in a new instance.
Metadata
Metadata
Assignees
Labels
No labels