package
Version:
v0.0.0-...-bde4beb
Opens a new window with list of versions in this module.
Published: Jul 13, 2021
License: Apache-2.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
¶
Package log provides utility functions for logging to the console.
Error logs an error message with any optional fields.
func Errorf(format string, args ...interface{})
Errorf uses fmt.Sprintf to log a formatted string.
func Fatalf(format string, args ...interface{})
Fatalf uses fmt.Sprintf to log a formatted string, and then calls
process.Exit.
Info logs an info message with any optional fields.
func Infof(format string, args ...interface{})
Infof uses fmt.Sprintf to log a formatted string.
Badger wraps the global zap.Logger for the badger.Logger interface.
Debugf uses fmt.Sprintf to log a formatted string.
Errorf uses fmt.Sprintf to log a formatted string.
Infof uses fmt.Sprintf to log a formatted string.
func (b Badger) Warningf(format string, args ...interface{})
Warningf uses fmt.Sprintf to log a formatted string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.