diff --git a/src/core/formatter.ts b/src/core/formatter.ts index afecc1b..cd71fd8 100644 --- a/src/core/formatter.ts +++ b/src/core/formatter.ts @@ -18,8 +18,7 @@ export class Formatter implements FormatterInterface { } as LogMessage; if (this.isDevelopmentEnv) { - console.log(formattedMessage); - return ''; + return JSON.stringify(formattedMessage, null, 2); } return JSON.stringify(formattedMessage);