package
0.35.3
Repository: https://github.com/jetsetilly/gopher2600.git
Documentation: pkg.go.dev

# Functions

BorrowLog gives the provided function the critial section and access to the list of log entries.
Clear all entries from central logger.
Log adds an entry to the central logger.
Logf adds a new entry to the central logger.
NewLogger is the preferred method of initialisation for the Logger type.
SetEcho prints entries in the central logger to io.Writer as they are created.
Tail writes the last N entries in the central logger to io.Writer.
Write contents of central logger to io.Writer.
WriteRecent returns only the entries in the central logger added since the last call to WriteRecent.

# Variables

Allow indicates that the logging request should be allowed.

# Structs

Entry
Entry represents a single line/entry in the log.
not exposing Logger to outside of the package.

# Interfaces

Permission implementations indicate whether the environment making a log request is allowed to create new log entries.