The highest tagged major version is
v3 .
Discover Packages
gitlab.com/postgres-ai/database-lab/v2
pkg
log
package
Version:
v2.4.0
Opens a new window with list of versions in this module.
Published: Jul 9, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
WHITE = "\x1b[1;37m"
RED = "\x1b[1;31m"
GREEN = "\x1b[1;32m"
YELLOW = "\x1b[1;33m"
END = "\x1b[0m"
OK = GREEN + "OK" + END
FAIL = RED + "Fail" + END
)
func Audit(v ...interface{})
Messages for security audit.
func Dbg(v ...interface{})
Output debug message.
func Err(v ...interface{})
Output error message.
func Errf(format string , v ...interface{})
Errf outputs formatted log.
func Fatal(v ...interface{})
Fatalf prints an error with a stack trace.
func Msg(v ...interface{})
Output message.
func SetDebug(enable bool )
SetDebug enables debug logs.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.