tslog
tslog copied to clipboard
📝 tslog - Universal Logger for TypeScript and JavaScript
Fixes #285
Colors are not rendered properly in Safari. No colors and bad symbols. **To Reproduce** Steps to reproduce the behavior: 1. Create logger, like so: ``` import * as tsLogs from...
**Describe the bug** I'm using the plasmo framework to write a chrome extension, while i want to introduce the tslog to handle my logging issue. And I found ''' Uncaught...
**Description / Use Case for a Feature** When an object is logged, by default it is fully expanded and printed, which is really frustrating when it has many layers and...
**Describe the bug** I'm getting below error when I log as below const reqBody = await event.request.formData(); log.info(reqBody) event is https://kit.svelte.dev/docs/types#public-types-requestevent. but it works fine if I do log.info(JSON.stringify(reqBody)) TypeError...
**Describe the bug** I created a logging library that uses `tslog` under the hood. The library is compiled with `tsc` (there's no bundling) and shipped as a CommonJS package. It...
**Describe the bug** ```ts import { Logger } from "tslog"; const log = new Logger({type: 'pretty'}) log.debug('hi') ``` ```console bun main.ts 2024-09-19 12:36:52.157 DEBUG hi ``` **To Reproduce** Steps to...
The current implementation of `overwrite.addMeta` does not make it easy to get the runtime's default meta if you're just looking to extend it with additional pieces of meta information (such...
I'm developing vue 3 application using vite. **tslog** library is useful for me but unfortunately, I cannot make it showing correct log positions. I tried to set source maps in...
Fixes a small typo in one of the code examples in the README.