logx

package
v0.2.33 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package logx 提供 slog 全局初始化(结构化日志,零第三方依赖)。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(level, format string)

Setup 初始化全局 slog 默认 logger。level: debug|info|warn|error;format: text|json。

Types

This section is empty.

Jump to

Keyboard shortcuts

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