Closed artur-grigoryan-cgn closed 6 months ago
Hi, I'm using Strapi with winstor 3.11. When i log this: logger.error([{ a: "a", b: "b" }, { a: "a", b: "b" }, { c: [{ a: "a" },3] }]); I get the followng the following output: [LOGGER] 13.12.2023 - 09:48:42 error : [ { a: 'a', b: 'b' }, { a: 'a', b: 'b' }, { c: [ [Object], 3 ] } ]
logger.error([{ a: "a", b: "b" }, { a: "a", b: "b" }, { c: [{ a: "a" },3] }]);
[LOGGER] 13.12.2023 - 09:48:42 error : [ { a: 'a', b: 'b' }, { a: 'a', b: 'b' }, { c: [ [Object], 3 ] } ]
It only appears in the console when I'm using ${info.message}. Example:
${info.message}
winston.format.printf( info => ` ${info.label} ${info.timestamp} ${info.level} : ${info.message}` )
Hi, I'm using Strapi with winstor 3.11. When i log this:
logger.error([{ a: "a", b: "b" }, { a: "a", b: "b" }, { c: [{ a: "a" },3] }]);
I get the followng the following output:[LOGGER] 13.12.2023 - 09:48:42 error : [ { a: 'a', b: 'b' }, { a: 'a', b: 'b' }, { c: [ [Object], 3 ] } ]
It only appears in the console when I'm using
${info.message}
. Example: