Logger tests
testing dbg fn
test calling methods
writing to log files: 2024/11/30 19:35:32 [debug] test
writing to log files: 2024/11/30 19:35:32 [warn] this is a warning
writing to log files: 2024/11/30 19:35:32 [fatal error] here is a fatal error, and it will send mail to davidWimbley, as a default.
we can read and change properties if we want to , although we really do not need this, it is here
log type is: 3
writing to log files: 2024/11/30 19:35:32 [debug] test
writing to log files: 2024/11/30 19:35:32 [debug] testing houston
message: 1
writing to log files: 2024/11/30 19:35:32 [fatal error] Urgent , please read.
writing to mail
we have also set up a error_handler, which will use the logger too, and send mail
let us give that a try: