package
0.2.0
Repository: https://github.com/mier85/go-sensor.git
Documentation: pkg.go.dev

# Functions

New initializes a new instance of Logger that uses provided printer as a backend to output the log messages.

# Constants

Valid log levels to be used with (*logger.Logger).SetLevel().
DefaultPrefix is the default log prefix used by Logger.
Valid log levels to be used with (*logger.Logger).SetLevel().
Valid log levels to be used with (*logger.Logger).SetLevel().
Valid log levels to be used with (*logger.Logger).SetLevel().

# Structs

Logger is a configurable leveled logger used by Instana's Go sensor.

# Interfaces

Printer is used by logger.Log instance to print out a log message.

# Type aliases

Level defines the minimum logging level for logger.Log.