Comments (4)
After consideration, I think it's no needed to introduce a new Writer but worth to add a helper/type function to make it easier.
So I add a commit df27c52
@fireflycons could you please take a look the example here https://github.com/phuslu/log?tab=readme-ov-file#customize-the-log-writer ? If OK, I'd like release a new tag.
from log.
looks like multiple-dispatching-writer
does
https://github.com/phuslu/log?tab=readme-ov-file#multiple-dispatching-writer
let me check it can meet the requirement or we could enhance the writer.
from log.
Nice - go for it!
from log.
v1.0.93 tagged/released, thanks
from log.
Related Issues (20)
- 有内置日志采样功能的计划吗? HOT 5
- v1.0.75 tag 名称是否需要调整一下? HOT 1
- Time() always format with local timezone HOT 1
- 如何把所有日志放一个文件 HOT 2
- 启动多个应用程序写入同一日志文件 HOT 1
- [FEATURE REQUEST] - Allow logging in CSV format HOT 2
- How about supporting global level? HOT 6
- FileWriter comment mentions MaxAge but that field does not exist HOT 1
- Gzip examples writes truncated file HOT 9
- [FEATURE REQUEST] - Hide and/or remove PII data from logging HOT 2
- Incorrect caller when using slog HOT 1
- Disable json for file log HOT 1
- Please help to confirm whether rfc5424 is supported?
- Is it possible to instrument with OpenTelemetry? HOT 1
- gin logger documentation: what is ginlogger.Config? HOT 3
- Callers - vary stack depth HOT 9
- [FEATURE REQUEST] - Add support for function With to predefine parameters for logger HOT 4
- Disabling compiler optimization and linting breaks phuslu HOT 3
- w.vwriter undefined (type *AsyncWriter has no field or method vwriter HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from log.