Discover Packages
github.com/meysam81/oneoff
internal
logging
package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Nov 30, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package logging provides a configured zerolog logger for the application.
Logger is the global logger instance.
Debug logs a debug message.
Error logs an error message.
Fatal logs a fatal message and exits.
Info logs an info message.
Init initializes the global logger with the specified log level.
It configures zerolog to use human-readable console output with:
- ISO-8601 timestamp format
- Caller information (file:line)
Panic logs a panic message and panics.
Warn logs a warning message.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.