# Functions
GlobalLogger returns the globally set logger instance.
New initializes a new logger based on the provided configuration.
SetGlobalLogger sets the given logger as the global logger.
# Constants
JSON log format, suitable for structured and machine-readable logs.
Plain text log format, suitable for human-readable logs.
Default Go logger, suitable for basic logging needs.
Zap logger, a structured logger for high-performance logging.
Debug log level, used for detailed system information.
Error log level, used for serious issues that affect functionality.
Fatal log level, used for severe issues causing a program to exit.
Info log level, used for general operational information.
Panic log level, used for issues causing panic and stack trace output.
Warn log level, used for non-critical issues that require attention.
Log to a specified file.
Log to standard output.
# Interfaces
Logger defines the interface for a logging system that supports different log levels and formatting.
# Type aliases
LogFormat defines a type for supported log formats.
LoggerType defines a type for supported logger names.
LogLevel defines a type for supported log levels.
LogOutput defines a type for supported log output locations.