Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddScopedLogger ¶
AddScopedLogger adds service to the DI container
func AddSingletonLogger ¶
AddSingletonLogger adds service to the DI container
Types ¶
type ILogger ¶
type ILogger interface { Error() *zerolog.Event Debug() *zerolog.Event Fatal() *zerolog.Event Info() *zerolog.Event Warn() *zerolog.Event Trace() *zerolog.Event GetLogger() *zerolog.Logger ErrorL(logger *zerolog.Logger) *zerolog.Event DebugL(logger *zerolog.Logger) *zerolog.Event FatalL(logger *zerolog.Logger) *zerolog.Event InfoL(logger *zerolog.Logger) *zerolog.Event WarnL(logger *zerolog.Logger) *zerolog.Event TraceL(logger *zerolog.Logger) *zerolog.Event }
ILogger interface
func GetScopedLoggerFromContainer ¶
GetScopedLoggerFromContainer from the Container
func GetSingletonLoggerFromContainer ¶
GetSingletonLoggerFromContainer ...
Click to show internal directories.
Click to hide internal directories.