Categorygithub.com/tetratelabs/log
modulepackage
0.2.3
Repository: https://github.com/tetratelabs/log.git
Documentation: pkg.go.dev

# README

Common logging infrastructure

CI codecov

This package contains a Telemetry Logger interface compatible implementation that allows configuring logging scopes that can be configured independently.

Take a look at the examples for more information on how to use the structured and unstructured logging implementations.

For information on the Telemetry Logger interface, see: https://github.com/tetratelabs/telemetry

License

This software is licensed under the Apache License 2.0. See LICENSE file for details.

# Functions

New creates a new structured logger.
NewFlattened creates a new flattened logger for structured data.
NewUnstructured creates a new unstructured logger.