package
0.386.3
Repository: https://github.com/tbd54566975/ftl.git
Documentation: pkg.go.dev

# Functions

Configure returns a new logger based on the config.
ContextWithLogger returns a new context with the given logger attached.
No description provided by the author
FromContext retrieves the current logger from the context or panics.
JSONStreamer reads a stream of JSON log entries from r and logs them to log.
LevelString retrieves an enum value from the enum constants string name.
LevelStrings returns a slice of all String values of the enum.
LevelValues returns all values of the enum.
New returns a new logger.
ParseLevel parses a log level from text.
No description provided by the author
Tee returns a sink that writes to all of the given sinks.

# Constants

Log levels.
Default is a special value that means the log level will use a default.
Log levels.
Log levels.
Log levels.
Log levels.

# Structs

Config for the logger.
Entry
No description provided by the author
Logger is the concrete logger.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

Level is the log level.