Allow logger to add transports (#2363)
- Move all of the winston logic from FileLoggerAdapter to WinstonLoggerAdapter - Export WinstonLoggerAdapter so it can be sublcassed - Expost the ability to add adittional transports to logger - Import FirehoseLoggerAdapter alongside other adapters so it can be configured.
This commit is contained in:
committed by
Florent Vilmart
parent
36891f4ed7
commit
fa736f1df7
@@ -6,7 +6,7 @@
|
||||
// * info(obj1 [, obj2, .., objN])
|
||||
// * error(obj1 [, obj2, .., objN])
|
||||
// * query(options, callback)
|
||||
// Default is FileLoggerAdapter.js
|
||||
// Default is WinstonLoggerAdapter.js
|
||||
|
||||
export class LoggerAdapter {
|
||||
info() {}
|
||||
|
||||
Reference in New Issue
Block a user