Discover Packages
github.com/mashiro/otelop
internal
logger
package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Apr 28, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
ParseLevel converts a log level string (debug|info|warn|error) to slog.Level.
Setup configures the default slog logger with a text handler to stderr.
Additional handlers (e.g. OTel bridge) can be passed to fan out log
records to multiple destinations.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.