package
0.0.0-20231018235809-90deddd72f8f
Repository: https://github.com/grailbio/reflow.git
Documentation: pkg.go.dev
# Functions
At returns true when the standard logger is at or above the provided level.
Debug formats a message in the manner of fmt.Sprint and logs it to the standard (debug) logger.
Debugf formats a message in the manner of fmt.Sprintf and logs it to the standard (debug) logger.
Error formats a message in the manner of fmt.Sprint and logs it to the standard (error) logger.
Errorf formats a message in the manner of fmt.Sprintf and logs it to the standard (error) logger.
Fatal formats a message in the manner of fmt.Print, outputs it to the standard outputter (always), and then calls os.Exit(1).
Fatalf formats a message in the manner of fmt.Printf, outputs it to the standard outputter (always), and then calls os.Exit(1).
No description provided by the author
MultiOutputter returns an Outputter that outputs each message to all the provided outputters.
New creates a new Logger that publishes messsages at or below the provided level to the provided outputter.
NewWithLevelPrefix creates a new Logger that prefixes each log with the logging level it was output with.
Print formats a message in the manner of fmt.Sprint and logs it to the standard logger.
Printf formats a message in the manner of fmt.Sprintf and logs it to the standard logger.
# Constants
DebugLevel outputs detailed debugging output.
ErrorLevel outputs only error messages.
InfoLevel is the standard error level.
OffLevel turns logging off.
# Variables
Std is the standard global logger.
# Structs
A Logger receives log messages at multiple levels, and publishes those messages to its outputter if the level (or logger) is active.
# Interfaces
An Outputter receives published log messages.
# Type aliases
Level defines the level of logging.