log

package
v0.0.0-...-c180733 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package log provides structured logging utilities for the application. It wraps the go-logging library with convenient helper functions.

Index

Constants

View Source
const (
	DEFAULT_DEBUG_LEVEL = 5
)

DEFAULT_DEBUG_LEVEL is the default logging verbosity level.

Variables

This section is empty.

Functions

func Critical

func Critical(v ...interface{})

Critical logs a critical-level message.

func Debug

func Debug(v ...interface{})

Debug logs a debug-level message.

func Dump

func Dump(v ...interface{})

Dump logs values as formatted JSON with type information.

func Error

func Error(v ...interface{})

Error logs an error-level message.

func Fatal

func Fatal(v ...interface{})

Fatal logs a fatal-level message and exits the application.

func GetLogger

func GetLogger() *logging.Logger

GetLogger returns the underlying go-logging logger instance.

func Info

func Info(v ...interface{})

Info logs an info-level message.

func Notice

func Notice(v ...interface{})

Notice logs a notice-level message.

func Panic

func Panic(v ...interface{})

Panic logs a message and panics.

func Println

func Println(v ...interface{})

Println logs a debug message.

func SetLevel

func SetLevel(l int)

SetLevel changes the logging verbosity level (1-7).

func Warning

func Warning(v ...interface{})

Warning logs a warning-level message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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