# Functions
AddRSyslogHook only needs to be called separately when using the InitDeferedLogger init.Main can't read /proc/cmdline at start.
AddUserHook is used to filter what log messages are written to the screen.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InitDeferedLogger stores the log messages until FsReady() is called TODO: actually store them :) TODO: need to work out how to pass entries from a binary run before we switchfs back to init and have it store and write it later.
InitLogger sets up Logging to log to /dev/kmsg and to Syslog.
NewShowuserlogHook creates a new hook for use.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
DebugLevel level.
ErrorLevel level.
FatalLevel level.
InfoLevel level.
PanicLevel level, highest level of severity.
WarnLevel level.
# Structs
ShowuserlogHook stores all levels of logrus entries in memory until its told the RancherOS logging system is ready then it replays them to be logged.