Open RedMser opened 4 years ago
WebAPI has a lot of loggers that start with [WebAPI]. Proposed API to avoid repition:
[WebAPI]
const logger = Logger.scope("WebAPI"); logger.warn("Test"); // same as logger.warn("[WebAPI] Test");
WebAPI has a lot of loggers that start with
[WebAPI]
. Proposed API to avoid repition: