Docs
Overview

Guides

Building a loggerFilteringFan-out and levels

Resources

Source code
ReferenceLoggerFiltersHandlers and levels
Docs/Log/Reference

Reference

The logger and its options, the filter builders, and the handler primitives.

Most code needs only log.New and the Logger interface. The filter builders and handler primitives are here for filtering and hand-assembly.

Loggerlog.New, the options, the Logger interface, Wrap, Discard, and the process-wide default.FiltersThe Deny / Allow / Shorten builders, their match criteria, and the runtime-mutable filter handler.Handlers and levelsThe fan-out handler, the handler options for custom-level names, and the TRACE and FATAL levels.
Edit or read the source on GitHub
PreviousFan-out and levelsNext Logger

Built with in Vilnius, Lithuania Say hello!

ProductsOpen sourceDocs GitHub