Discover Packages
github.com/abitofhelp/servicelib
EXAMPLES
logging
directory
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Jun 26, 2025
License: MIT
Opens a new window with license information.
README
README
¶
Logging Examples
Overview
This directory contains examples demonstrating how to use the logging components of the ServiceLib library. Each example is a complete, runnable application that showcases specific features and usage patterns.
Examples
Running the Examples
Each example can be run from its directory using:
go run main.go
License
This project is licensed under the MIT License - see the LICENSE file for details.
Expand ▾
Collapse ▴
Directories
¶
Example of basic usage of the logging package
Example of basic usage of the logging package
Example of context-aware logging
Example of context-aware logging
Example of adding trace IDs to logs
Example of adding trace IDs to logs
Click to show internal directories.
Click to hide internal directories.