Documentation ¶ Index ¶ func Setup() (*slog.Logger, func() error, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Setup ¶ func Setup() (*slog.Logger, func() error, error) Setup creates a JSON logger that writes to ~/.milo/debug.log. It returns the logger, a cleanup function to close the log file, and any error. The log file is truncated on each session so it reflects only the current run. Types ¶ This section is empty. Source Files ¶ View all Source files logging.go Click to show internal directories. Click to hide internal directories.