Categorygithub.com/anacrolix/log
modulepackage
0.16.0
Repository: https://github.com/anacrolix/log.git
Documentation: pkg.go.dev

# README

Go Reference

log

See the thorough Go package documentation via the badge.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
Extracts the most recent error level added to err with [WithLevel], or NotSet.
No description provided by the author
No description provided by the author
Logs a message to the [Default] Logger with text formatted in the style of [fmt.Printf], with the given [Level].
Formats like: "[2023-12-02 14:34:02 +1100 INF] prefix: text [name name import-path short-file:line]".
No description provided by the author
No description provided by the author
Returns a new Logger with the names given, and Default's handlers.
Prints the arguments to the [Default] Logger in the style of [fmt] functions of similar names.
Prints the arguments to the [Default] Logger in the style of [fmt] functions of similar names.
Prints the arguments to the [Default] Logger in the style of [fmt] functions of similar names.
No description provided by the author
Adds the error level to err, it can be extracted with [ErrorLevel].

# Constants

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

# Variables

No description provided by the author
No description provided by the author
Inited after GO_LOG is parsed.
No description provided by the author
Preferred and probably faster than DefaultTimeFormatter.
No description provided by the author
It shouldn't be possible to define a message at this level.
No description provided by the author
No description provided by the author
Deprecated: Logging shouldn't include control flow.
Deprecated: Logging shouldn't include control flow.
No description provided by the author
No description provided by the author
A message at this level should never be logged.
No description provided by the author
Deprecated: Logging shouldn't include control flow.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Logger handles logging in a specific context.
A wrapper around MsgImpl that provides some extra helpers to modify a Msg.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
The minimal interface required for the Msg helper/wrapper to operate on.

# Type aliases

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