package
0.10.0-alpha9
Repository: https://github.com/replicate/cog.git
Documentation: pkg.go.dev

# Functions

Debug level message.
Debug level message.
Error level message.
Error level message.
Fatal level message.
Fatal level message.
No description provided by the author
GetWidth returns the width of the terminal (from stderr -- stdout might be piped) Returns 0 if we're not in a terminal.
Info level message.
Info level message.
IsTerminal returns true if we're in a terminal and a user is interacting with us.
IsTTY checks if a file is a TTY or not.
MustParseLevel parses level string or panics.
Output a line to stdout.
ParseLevel parses level string.
SetColor sets whether to print colors.
SetLevel sets log level.
Warn level message.
Warn level message.

# Constants

Log levels.
Log levels.
Log levels.
Log levels.
Log levels.
Log levels.

# Variables

ConsoleInstance is the global instance of console, so we don't have to pass it around everywhere.
ErrInvalidLevel is returned if the severity level is invalid.

# Structs

Console represents a standardized interface for console UI.
No description provided by the author
No description provided by the author

# Type aliases

Level of severity.