log

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package log configures the process-wide slog logger for thrift-ls.

thrift-ls logs to a file in the temp directory (thrift-ls.log) so that LSP traffic on stdio is never polluted with log output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(level int)

Init configures the default slog logger with the given level and redirects it to the temp log file.

level uses the historical thrift-ls scale (1 fatal .. 6 trace), matching the old logrus levels so CLI flags keep their meaning.

Types

This section is empty.

Jump to

Keyboard shortcuts

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