Add logger status function

This commit is contained in:
themodernhakr 2025-03-11 13:21:03 -05:00
parent 3b6990be85
commit 58ef0a251e

View File

@ -40,6 +40,15 @@ class logger {
}
}
function status() {
switch($logger) {
case 0:
printf("Logging is disabled");
case 1:
printf("Logging is enabled");
}
}
function test_fatal() {
logger(5, "This is a test");
}