package
Version:
v0.49.1
Opens a new window with list of versions in this module.
Published: Feb 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
Documentation
¶
DieIf outputs log and exit(1) if `err` occurs.
ErrorIf outputs log if `err` occurs.
func Log(prefix, message string)
Log outputs `message` with `prefix` by go-colorine
func Logf(prefix, message string, args ...interface{})
Logf outputs `message` with `prefix` by go-colorine
Logger is wrapped go-colorine logger for mkr
New is constructor for new colorine logger
Error outputs log given non-nil `err`
Log outputs `message` with `prefix` by go-colorine
func (l *Logger) Logf(prefix, message string, args ...interface{})
Logf outputs `message` with `prefix` by go-colorine
Source Files
¶
Click to show internal directories.
Click to hide internal directories.