console-log-json icon indicating copy to clipboard operation
console-log-json copied to clipboard

A universal JSON logger that plugs in to the existing `console.log` native function. console.log() anything and have the output be formatted to single line JSON, including stack traces, so that it ca...

Results 17 console-log-json issues
Sort by recently updated
recently updated
newest added

Today console-log-json pulls object properties passed as args to the top level. Example: ```javascript console.log('Hello', {a: 1}, {a: 2}, {a: 3}, 'World', {a: 4}); ``` results to ```json {"level":"info","message":"Hello -...

enhancement

please could you review colors for white terminal. default is difficult to watch. ![image](https://github.com/hiro5id/console-log-json/assets/629656/755ab49b-0021-4e85-9811-3d3960d7fe04)

Hi, Is somebody know how to: 1. rename built-in log entry such as `@timestamp` 2. disable some helper behavior such as replace null with hardcode placeholder 3. customize log level...

Version: 2.9.0 We don't always want to add context to an error - sometimes `console.error(new Error('bang'))` is fine. If you do that, however, it still tries to add the context...

Remove dependency on winston to lighten up the package.

Hi! Your library works strange and requires access to neighbour users folder!!! The error occures here: \src\env\env.ts:14:23 ![image](https://user-images.githubusercontent.com/42899786/117532376-ee00b380-afef-11eb-8c80-e97f8e45d90c.png) Red line means my user, and green arrow means another Windows user....

bug
enhancement
question

``` Error: Error while querying DB2 database at new Promise () at /src/app.ts:92:15 at Generator.throw () at rejected (/dist/refresh-dsw/src/app.js:6:65) at processTicksAndRejections (internal/process/task_queues.js:93:5)Caused By: Error: Error while querying DB2 database at...

bug

we could also think of a list of intelligent string properties we could fall back on if available. Such as: - event - context - what - where Note: that...

enhancement