Documentation
¶
Overview ¶
Package logging provides structured logging for deepseekcode.
When debug is off, logs are discarded (callers can still use slog.X without conditionals). When on, logs go to .deepseek/log/<date>.jsonl under the supplied dir.
Mode controls whether stderr is also a sink. ModeCLI writes to both (stderr + file); ModeTUI is file-only because Bubble Tea's AltScreen would corrupt the display if anything else wrote to the terminal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RedactAPIKey ¶
RedactAPIKey returns a shortened representation of a key-like string.
func RedactPath ¶
RedactPath returns "[redacted:<ext>]" if the basename looks like a secrets file; otherwise returns the path unchanged.
Types ¶
Click to show internal directories.
Click to hide internal directories.