Define global logger instance to be used for all logging

Summary:
The advantage of this is that anyone can now log without needing to carry around a Logger object.
Primary reason is for making metrics less intrusive in the codebase.

Reviewed By: passy

Differential Revision: D13671368

fbshipit-source-id: 162ab1351a124683aef13983fc3bcec01385cd1a
This commit is contained in:
John Knox
2019-01-15 09:39:37 -08:00
committed by Facebook Github Bot
parent e71804fe9e
commit 3bcb079f87
9 changed files with 31 additions and 75 deletions

View File

@@ -185,7 +185,6 @@ export default class Server extends EventEmitter {
destination,
),
'processCertificateSigningRequest',
this.logger,
)
.then(result => {
subscriber.onComplete({