Create general purpose logging module #4
@ -43,9 +43,9 @@ class logger {
|
||||
function status() {
|
||||
switch($logger) {
|
||||
case 0:
|
||||
printf("Logging is disabled");
|
||||
say "Logging is disabled";
|
||||
case 1:
|
||||
printf("Logging is enabled");
|
||||
say "Logging is enabled";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user