tslog icon indicating copy to clipboard operation
tslog copied to clipboard

📝 tslog - Universal Logger for TypeScript and JavaScript

Results 106 tslog issues
Sort by recently updated
recently updated
newest added

**Description / Use Case for a Feature** It would be cool to have log functions that can be used as [Tagged Template Strings](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates). Template strings are a very useful way...

enhancement

**Description / Use Case for a Feature** Let's say that I store a bunch of `LogObj` to a file as (stringified) JSON. At some point I need a quick and...

enhancement

I am excited to get v4 working! I have an `ILogObj`: ```ts export interface LogObj { requestId?: string | (() => string | undefined); jobId?: string | (() => string...

enhancement

**Description / Use Case for a Feature** I know that logs can generally be in multiple formats, but it seems like `_meta` is always available in `attachTransport`. Additionally, I'm trying...

enhancement

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies

**Describe the bug** Only a few levels are printed in pretty mode. It's caused by broken `_extend` function, which ignores `depth` settings, therefore the hardcoded depth with value 2 is...

bug

**Describe the bug** TS Log fails to produce proper stack traces when file paths contain parenthesis. When it encounters the parentheses it doesn't expect, the resulting formatted error message has...

bug

I am trying to include extra information in every log. I have tried to do that with the overwrite settings but nothing seems to work. Here is an example how...

enhancement

**Describe the bug** When logging a simple error when using [bun](https://bun.sh): ``` log.fatal(new Error("I am a pretty Error with a stacktrace.")); ``` The output log is somehow broken with many...

bug

**Describe the bug** I would expect the custom log level implemented as per documentation to report on the file where the call was made instead of the file where the...

bug