tslog
tslog copied to clipboard
📝 tslog - Universal Logger for TypeScript and JavaScript
Logging objects returned by a gRPC call results in an error (see additional context below) when the same objects can be printed without any problems using console.log. The Objects are...
Fixed config example
**Describe the bug** Control Characters instead of colors. **To Reproduce** ``` �[37m2023-09-14 18:26:34.456�[39m�[0m�[0m �[34m�[1mINFO�[22m�[39m�[0m�[0m �[37m�[39m�[0m�[0m�[1m�[37m�[39m�[22m�[0m�[0m 2023-09-14T14:15:00.000Z endDate ``` **Expected behavior** Colors **Screenshots**  **Additional context** Firefox v117.0 Chromium v116.0.5845.179 **Node.js...
So when we normally log to console using `console.log`, browsers print the objects in a contracted format, and you can optionally click to expand to inspect the properties of the...
I'm using `Axiom` and would love to know if it's possible to use `tslog` with an asynchronous Transporter. In `winston` - it's not possible somehow, very weird.
**Describe the bug** Uncaught TypeError: ``` Uncaught TypeError: Cannot convert object to primitive value at Array.join () at prettyFormatErrorObj (/project/node_modules/tslog/dist/cjs/runtime/nodejs/index.js:107:14) at maskedArgs.reduce.args (/project/node_modules/tslog/dist/cjs/runtime/nodejs/index.js:89:43) at Array.reduce () at Object.prettyFormatLogObj (/project/node_modules/tslog/dist/cjs/runtime/nodejs/index.js:88:23) at...
**Describe the bug** Compiler complains ` Property 'hostname' does not exist on type 'IMeta'.` However it does exist, maybe not in all cases. **To Reproduce** Try to access the logObj...
**Describe the Bug** In the case of an invalid date present inside an object that is being logged, the polyfill throws:  **To Reproduce** 1. Create an object containing an...
Hi 👋, I am using your logging tool to develop an interval vscode extension in my organisation. The extension has multiple output channels for each type of HTTP client talking...
Hi, maybe this is a missing feature, or I do not know how to use `attachTransport`. Snippet: ``` import { Logger, ILogObj } from "tslog"; const logger: Logger = new...