termlog
less than a minute
function termlog
termlog(
string: 'str' = '',
newline: 'bool' = True,
repeat: 'bool' = True,
prefix: 'bool' = True
) → None
Log an informational message to stderr.
The message may contain ANSI color sequences and the \n character. Colors are stripped if stderr is not a TTY.
Args:
string
: The message to display.newline
: Whether to add a newline to the end of the string.repeat
: If false, then the string is not printed if an exact match has already been printed through any of the other logging functions in this file.prefix
: Whether to include the ‘wandb:’ prefix.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.