Top 1.8% dependent repos on proxy.golang.org
proxy.golang.org : github.com/ecnepsnai/logtic
Package logtic is a yet another logging library for golang projects. Important: Following Go 1.21 and the introduction of the log/slog package, new projects should prefer to use that over logtic. This package will continue to be supported in terms of bugfixes and security fixes only. No new functionality will be added. The goal of logtic is to be as transparent and easy to use as possible, allowing applications and libraries to seamlessly log to a single file. Logtic can be used in libraries and won't cause any problems if the parent application isn't using logtic. Logtic supports multiple sources, which annotate the outputted log lines. It also supports defining a minimum desired log level, which can be changed at any time. Events printed to the terminal output support color-coded severities. Events can be printed as formatted strings, like with `fmt.Printf`, or can be parameterized events which can be easily parsed by log analysis tools such as Splunk. By default, logtic will only print to stdout and stderr, but when configured it can also write to a log file. Log files include the date-time for each event in RFC-3339 format. Logtic provides a default logging instance but also supports unique instances that can operate in parallel, writing to unique files and having unique settings. Log files can be rotated using the provided rotate method. Logtic is optimized for Linux & Unix environments but offers limited support for Windows. Common setup for file-based logging
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/ecnepsnai/logtic
Keywords:
golang
License: MIT
Latest release: 2 months ago
First release: almost 6 years ago
Namespace: github.com/ecnepsnai
Dependent packages: 11
Dependent repositories: 9
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/ecnepsnai
Last synced: 12 days ago