Custom logger
#2055
-
I see that tsed has its own logger, but the project where I work has its own logger as well. How would it be to make tsed use the logger that the project already has? Something like: @Configuration({ logger: { instance: new MyCustomLogger() } })
export class Server {} |
Beta Was this translation helpful? Give feedback.
Answered by
Romakita
Aug 23, 2022
Replies: 1 comment 1 reply
-
Hello @kaname-png Use @tsed/logger-connect to register your own log. See the documentation here: https://logger.tsed.io/appenders/connect.html#configuration See you |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Romakita
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @kaname-png
Use @tsed/logger-connect to register your own log. See the documentation here:
https://logger.tsed.io/appenders/connect.html#configuration
See you
Romain