Compare commits

..

No commits in common. "d9ef26cfa7d0340c64ce3d6dd31230af7f2a983c" and "561b7cc39a0fe2ee83ff90d4cbf61055677750b7" have entirely different histories.

View File

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