The highest tagged major version is
v2 .
Discover Packages
github.com/ethersphere/bee
pkg
logging
package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Dec 15, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewHTTPAccessLogHandler creates a handler that will log a message after a
request has been served.
SetAccessLogLevelHandler overrides the log level set in
NewHTTPAccessLogHandler for a specific endpoint. Use log level 0 to suppress
log messages.
type Logger interface {
Tracef(format string , args ...interface{})
Trace(args ...interface{})
Debugf(format string , args ...interface{})
Debug(args ...interface{})
Infof(format string , args ...interface{})
Info(args ...interface{})
Warningf(format string , args ...interface{})
Warning(args ...interface{})
Errorf(format string , args ...interface{})
Error(args ...interface{})
WithField(key string , value interface{}) *logrus .Entry
WithFields(fields logrus .Fields ) *logrus .Entry
WriterLevel(logrus .Level ) *io .PipeWriter
NewEntry() *logrus .Entry
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.