logger

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logger provides logging functionality. Implements structured logging based on zerolog, supports log level control and sensitive information sanitization.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger() zerolog.Logger

GetLogger gets logger instance

func SanitizeHeader

func SanitizeHeader(header string) string

SanitizeHeader sanitizes HTTP header information

func SanitizeString

func SanitizeString(s string) string

SanitizeString sanitizes sensitive information Performs partial sanitization on strings that may contain sensitive information

func SetLevel

func SetLevel(level zerolog.Level)

SetLevel sets log level (for runtime adjustment)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL