The highest tagged major version is
v3 .
Discover Packages
github.com/clicworth-com/gomicroutils
v1
logger
package
Version:
v1.2.5
Opens a new window with list of versions in this module.
Published: Oct 10, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
FromCtx returns the Logger associated with the ctx. If no logger
is associated, the default logger is returned, unless it is nil
in which case a disabled logger is returned.
Get initializes a zap.Logger instance if it has not been initialized
already and returns the same instance for subsequent calls.
WithCtx returns a copy of ctx with the Logger attached.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.