Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前端库:日志库 tslog: Beautiful logging experience for Node.js with TypeScript support #125

Open
lauer3912 opened this issue Sep 1, 2022 · 0 comments

Comments

@lauer3912
Copy link
Owner

https://github.com/LabsRS-Ref/tslog
https://www.npmjs.com/package/tslog

Batteries included, native V8 integration

👮‍️ Fully typed with TypeScript support (exact code position)

🗃 Pretty or JSON output

⭕️ Supports circular structures

🦸 Custom pluggable loggers

💅 Object and error interpolation

🕵️‍ Code surrounding error position (code frame)

🤓 Stack trace through native V8 API

🏗 Works for TypeScript and JavaScript

👨‍👧‍👦 Child logger with inheritance

🙊 Mask/hide secrets and keys

🔍 Native support for request IDs (async_hooks, AsyncLocalStorage)

📦 CommonJS and ES Modules with tree shaking support

🧲 Optionally catch all console logs

✍️ well documented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant