Create general purpose logging module #4

Merged
ehrumsey merged 15 commits from dev-logging into dev 2025-03-11 20:31:37 -05:00
Showing only changes of commit 58ef0a251e - Show all commits

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");
}