Discover Packages
github.com/safedep/dry
log
package
Version:
v0.0.0-...-3b26d93
Opens a new window with list of versions in this module.
Published: Apr 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
Documentation
Documentation
¶
Errorf logs a debug msg using global logger
Errorf logs an error msg using global logger
Fatalf logs a fatal msg using global logger
Infof logs an info msg using global logger
Initialize logger for the given service name
This is the contract for initializing logger. The actual implementation
of the logger may vary based on runtime environment
func InitZapLogger(name string )
InitZapLogger initializes a zap based logger
and sets it as the default logger using SetGlobal
SetGlobal sets the global logger instance
Warnf logs a warning msg using global logger
Logger represents a contract for implementing a logging module
NewNopLogger creates a No Operation (NOP) logger
With returns a logger instance with args attributes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.