Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.0% on proxy.golang.org
Top 4.6% dependent packages on proxy.golang.org

proxy.golang.org : github.com/xgfone/logger

Package logger provides an flexible, extensible and powerful logging management tool based on the level, which has done the better balance between the flexibility and the performance. Basic Principle Features The core package provides three kinds of encoders: For the encoders based on Format, the arguments of the log output function, such as `Info()`, are the same as those of `fmt.Sprintf()`. For the encoders based on Key-Value, howerer, the first argument is the log description, and the rests are the key-value pairs, the number of which are even, for example, You can use `LevelFilterEncoder` to filter some logs by the level, for example, All implementing the interface `io.Writer` are a Writer. There are some the built-in writers in the core package, For example, The log framework itself has no any performance costs. There may be some performance costs below:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/xgfone/logger
Keywords: glog, golog, gologger, gologging, log, logger, logging, structured-log, structured-logger, structured-logging
License: Apache-2.0
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/xgfone
Dependent packages: 2
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago

    Loading...
    Readme
    Loading...