mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
improvement: moved all console logs to pino
This commit is contained in:
9
backend/src/utils/logger.ts
Normal file
9
backend/src/utils/logger.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import pino from "pino";
|
||||
|
||||
const logger = pino({
|
||||
prettyPrint: {
|
||||
ignore: "pid,hostname"
|
||||
}
|
||||
});
|
||||
|
||||
export { logger };
|
||||
Reference in New Issue
Block a user