HOME
ABOUT
DOCUMENTATION
GET HELP
Writes and saves the current time and message in the log file. Time information is saved based on UTC. You can use format code of datetime in the path.
message
datetime
message (str) – Message to write in log.
str
log_path (str) – Log file path.
Examples
>>> alert_message("log message sample", "./log/%Y/%Y%m%d.log")