saltsafelog
Module provides uniform logging for SALT.
-
class saltsafelog.SaltLog(logfile, with_stdout=True)
Class providing uniform logging.
-
error(e, with_backtrace=True, with_stdout=True)
- Prints error message and backtrace to logfile.
-
message(m, with_header=True, with_stdout=True)
- Prints message m to logfile.
-
warning(m, with_stdout=True)
- Prints warning message m to logfile.