Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupContext ¶
SetupContext creates supplies a context.Context with new Logger instance It handles setting up logging level and log output
Types ¶
type Handler ¶
Handler is a custom handler designed to work with or without colored output
func NewHandler ¶
NewHandler creates a new Handler instance with given parameters
type Logger ¶
Logger is a type wrapper around log.Interface used to simplify imports in the project
func FromContext ¶
FromContext wraps log.FromContext function to simplify imports in the project
Click to show internal directories.
Click to hide internal directories.