Documentation
¶
Overview ¶
Package logger provides structured logging for the vpn application.
Log file: /var/log/vpn.log (created by the installer; owned by the admin user)
Log format:
[2026-02-21 14:30:05 UTC] [section] message
Sections:
[install] — installation steps and progress [verify] — GPG signature and checksum verification [config] — configuration load/save operations [tui] — TUI actions (installs, upgrades, service management) [status] — dashboard status polling warnings [system] — system-level operations (firewall, tor, services)
Index ¶
- Constants
- func Config(format string, args ...interface{})
- func Install(format string, args ...interface{})
- func Log(section, format string, args ...interface{})
- func Status(format string, args ...interface{})
- func System(format string, args ...interface{})
- func TUI(format string, args ...interface{})
- func Verify(format string, args ...interface{})
Constants ¶
View Source
const LogPath = "/var/log/vpn.log"
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.