Documentation
¶
Overview ¶
Package logger provides structured logging functionality for Furca.
It implements a singleton logger using the zap logging library, with support for different log levels, structured output, and colorized console logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogger ¶
func GetLogger() *zap.SugaredLogger
GetLogger returns a singleton instance of the logger. It initializes the logger on the first call and returns the same instance on subsequent calls, ensuring that there's only one logger throughout the application. The logger is configured with appropriate encoding, log level, and output settings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.