Skip to content

Commit

Permalink
json logging instead of pretty priny
Browse files Browse the repository at this point in the history
  • Loading branch information
veljkovranic committed Oct 17, 2024
1 parent bf97e55 commit cbeadc1
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/common/logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,6 @@ import pino from "pino";
const destination = pino.destination({ sync: false });

// Create the logger using the asynchronous destination
const logger = pino(
{
transport: {
target: "pino-pretty",
options: {
colorize: true,
destination: 1
},
},
},
destination
);
const logger = pino({}, destination);

export { logger };

0 comments on commit cbeadc1

Please sign in to comment.