d2r2 / go-logger Goto Github PK
View Code? Open in Web Editor NEWGolang logger functionality with logging separation by package to improve debug process
License: MIT License
Golang logger functionality with logging separation by package to improve debug process
License: MIT License
Every so often (yea, best test case I have), %V in lg.Debug and lg.Info, a %V doesn't seem to get expanded.
Usually, %V results in: p_d2=%!V(uint64=19924086784)
sometimes: %V results in: var = %V C18.51
It's dependent upon the statement. The displayed result is the same for every run, and the same respective to other changes I've made.
Declaration:
var lg = logger.NewPackageLogger("main",
logger.DebugLevel,
// logger.InfoLevel,
)
This project is packaged for Debian: https://tracker.debian.org/pkg/golang-github-d2r2-go-logger
There are no releases to track. So it is unknown when we should update the package and if it is safe to update. Please create a first release. In case you are unfamiliar with it, you can read about versioning here (since the version number have a meaning):
There is no copyright information in the git repository, neither license headers in the go files nor a separate license file. Please add license headers and a LICENSE file. Missing information means that no permission are granted.
2018-10-12T17:11:04.930 [ logger] INFO {2006-01-02T15:04:05.000 8 0}Finalizing logger, due to termination pending request
What are the options there for? Why is the date in 2006?
Line 319 in 49d2640
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.