Documentation
¶
Overview ¶
Package logging provides shared logger configuration for snapshot binaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureLogger ¶
ConfigureLogger creates a logr.Logger from the SNAPSHOT_LOG_LEVEL environment variable. output controls where log lines are written ("stdout" or "stderr"). Supported levels: trace, debug, info, warn, error. Defaults to info.
func LogProcessDiagnostics ¶
LogProcessDiagnostics logs process state and CRIU restore log for debugging a failed restore.
func LogRestoreErrors ¶
LogRestoreErrors finds the CRIU restore.log and logs key lines from it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.