Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddScopedLogger ¶ added in v0.1.7
AddScopedLogger adds service to the DI container
func AddSingletonLogger ¶ added in v0.1.7
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 }
func GetScopedLoggerFromContainer ¶ added in v0.1.7
GetScopedLoggerFromContainer from the Container
func GetSingletonLoggerFromContainer ¶ added in v0.1.7
Click to show internal directories.
Click to hide internal directories.