michaelquigley / pfxlog Goto Github PK
View Code? Open in Web Editor NEWInstant prefixed logging for golang, built on top of logrus.
License: MIT License
Instant prefixed logging for golang, built on top of logrus.
License: MIT License
Revisit the options handling for the pfxlog
CLI re-parsing tool.
Once the channelized logging pattern has converged (#15), update the example to properly illustrate the idiom(s).
Seems to be an issue with repeating absolute timestamps in pfxlog -a
output.
Work up a stack/example that supports "channelized" logging, where different subsystems can be configured/enabled/disabled separately.
This would allow different parts of a stack to log differently.
When reformatting JSON log messages, facilitate an "auto cut" capability that will strip off any prefixed text before parsing.
Implement a default "no color" mode, which can be overridden with an environment variable.
The output from pfxlog.Filter
looks like it needs an update to properly handle the new channelization (at least):
{_channels=[[gorm]]
Update pfxlog
to use the reported caller information from logrus
, instead of computing our own. We can probably recast ourselves as a formatter, with context helpers and work towards not duplicating anything already provided by logrus
.
There are a couple of different emerging channelized logging patterns in the framework. Consolidate these into a single abstraction that covers all of the cases.
All of the new pfxlog.Builder
based functionality needs unit tests.
Calling Builder.WithChannels
with the same channels multiple times ends up with the same channel defined multiple times.
Provide a command-line flag that will pass the JSON timestamps through, rather than computing a relative timestamp.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.