IT JUST WORKS
This commit is contained in:
parent
6312b344cd
commit
ec3b0a3c93
1 changed files with 8 additions and 4 deletions
|
|
@ -5,15 +5,19 @@ export const logger = pino();
|
|||
|
||||
export const yogaLogger: YogaLogger = {
|
||||
debug(...args) {
|
||||
logger.debug("", ...args);
|
||||
// @ts-ignore
|
||||
logger.debug(...args);
|
||||
},
|
||||
info(...args) {
|
||||
logger.info("", ...args);
|
||||
// @ts-ignore
|
||||
logger.info(...args);
|
||||
},
|
||||
warn(...args) {
|
||||
logger.warn("", ...args);
|
||||
// @ts-ignore
|
||||
logger.warn(...args);
|
||||
},
|
||||
error(...args) {
|
||||
logger.error("", ...args);
|
||||
// @ts-ignore
|
||||
logger.error(...args);
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue