package
Version:
v0.1.13-beta3
Opens a new window with list of versions in this module.
Published: Dec 28, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Loglevel returns the current log level.
func Print(level int, v ...interface{})
Print prints to the log, if the level is <= current log level.
Arguments are handled in the manner of fmt.Print.
func Printf(level int, format string, v ...interface{})
Printf prints to the log, if the level is <= current log level.
Arguments are handled in the manner of fmt.Printf.
func Println(level int, v ...interface{})
Println prints to the log, if the level is <= current log level.
Arguments are handled in the manner of fmt.Println.
SetPrefix sets a log prefix
func Setloglevel(newlevel int)
Setloglevel sets the current log level.
V returns true if the specified level is between 0 and the current
log level, false otherwise.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.