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