package
0.0.0-20240625190017-a0fef5fe53bc
Repository: https://github.com/clearlinux/clr-installer.git
Documentation: pkg.go.dev
# Functions
ArchiveLogFile copies the contents of the log to the given filename.
Debug prints a debug log entry with DBG tag.
Error prints an error log entry with ERR tag.
ErrorError prints an error log entry with ERR tag, it takes an error instead of format and args, if a TraceableError is provided then we also include the trace information in the error message.
GetCrashInfoMsg returns the crash info message.
GetLogFileName ..
GetPreConfFile ..
Info prints an info log entry with INF tag.
LevelStr converts level to its text equivalent, if level is invalid an error is returned.
RequestCrashInfo prints information for the user on how to properly report the crash of the installer and how to gather more information.
SetLogLevel sets the default log level to l.
SetOutputFilename ..
Warning prints an warning log entry with WRN tag.
# Constants
LogLevelDebug specified the log level as: DEBUG.
LogLevelError specified the log level as: ERROR.
LogLevelInfo specified the log level as: INFO.
LogLevelVerbose specified the log level as: VERBOSE This is the same as Debug, but without the repeat filtering.
LogLevelWarning specified the log level as: WARNING.