Discover Packages
github.com/hermeznetwork/hermez-node
log
package
Version:
v1.7.0
Opens a new window with list of versions in this module.
Published: Sep 13, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 7
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Debug(args)
Debugf(template, args)
Debugw(template, kv)
Error(args)
Errorf(template, args)
Errorw(template, kv)
Fatal(args)
Fatalf(template, args)
Fatalw(template, kv)
Info(args)
Infof(template, args)
Infow(template, kv)
Init(levelStr, outputs)
Warn(args)
Warnf(template, args)
Warnw(template, kv)
Types
Source Files
Documentation
Documentation
¶
func Debug(args ...interface{})
func Debugf(template string, args ...interface{})
func Debugw(template string, kv ...interface{})
func Error(args ...interface{})
func Errorf(template string, args ...interface{})
func Errorw(template string, kv ...interface{})
func Fatal(args ...interface{})
func Fatalf(template string, args ...interface{})
func Fatalw(template string, kv ...interface{})
func Info(args ...interface{})
func Infof(template string, args ...interface{})
func Infow(template string, kv ...interface{})
func Init(levelStr string, outputs []string)
func Warn(args ...interface{})
func Warnf(template string, args ...interface{})
func Warnw(template string, kv ...interface{})
func Debug(args ...interface{})
Debug calls log.Debug
func Debugf(template string , args ...interface{})
Debugf calls log.Debugf
func Debugw(template string , kv ...interface{})
Debugw calls log.Debugw
func Error(args ...interface{})
Error calls log.Error
func Errorf(template string , args ...interface{})
Errorf calls log.Errorf and stores the error message into the ErrorFile
func Errorw(template string , kv ...interface{})
Errorw calls log.Errorw
func Fatal(args ...interface{})
Fatal calls log.Fatal
func Fatalf(template string , args ...interface{})
Fatalf calls log.Warnf
func Fatalw(template string , kv ...interface{})
Fatalw calls log.Fatalw
func Info(args ...interface{})
Info calls log.Info
func Infof(template string , args ...interface{})
Infof calls log.Infof
func Infow(template string , kv ...interface{})
Infow calls log.Infow
Init the logger with defined level. outputs defines the outputs where the
logs will be sent. By default outputs contains "stdout", which prints the
logs at the output of the process. To add a log file as output, the path
should be added at the outputs array. To avoid printing the logs but storing
them on a file, can use []string{"pathtofile.log"}
func Warn(args ...interface{})
Warn calls log.Warn
func Warnf(template string , args ...interface{})
Warnf calls log.Warnf
func Warnw(template string , kv ...interface{})
Warnw calls log.Warnw
Source Files
¶
Click to show internal directories.
Click to hide internal directories.