logging

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package logging routes all logs (ours and the Databricks SDK's) to a file. Nothing may ever write to stdout/stderr while the TUI owns the terminal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseLevel

func ParseLevel(s string) slog.Level

ParseLevel maps a config string to a slog level, defaulting to info.

func Setup

func Setup(level string) (string, func() error, error)

Setup opens the log file under the XDG state directory, installs it as the slog default, and bridges the Databricks SDK logger into slog. It returns the log file path and a close function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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