package logger
import "github.com/spiffe/go-spiffe/v2/logger"
Index ¶
Types ¶
type Logger ¶
type Logger interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) }
Logger provides logging facilities to the library.
var Null Logger = NullLogger{}
func Writer ¶
Writer provides a logger that outputs logging to the given writer.
type NullLogger ¶
type NullLogger struct{}
func (NullLogger) Debugf ¶
func (NullLogger) Debugf(format string, args ...interface{})
func (NullLogger) Errorf ¶
func (NullLogger) Errorf(format string, args ...interface{})
func (NullLogger) Infof ¶
func (NullLogger) Infof(format string, args ...interface{})
func (NullLogger) Warnf ¶
func (NullLogger) Warnf(format string, args ...interface{})
Source Files ¶
- Version
- v2.0.0-alpha.2
- Published
- Apr 23, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 5 hours ago –
Tools for package owners.