Remove double-quotes from log messages
This commit is contained in:
parent
5468fa9605
commit
28d85c4e02
@ -25,7 +25,7 @@ class logger {
|
|||||||
$logger = false;
|
$logger = false;
|
||||||
} else if ($logger) {
|
} else if ($logger) {
|
||||||
say "Logging is enabled. You should now see a test log message:";
|
say "Logging is enabled. You should now see a test log message:";
|
||||||
logger(2, "logger", "This is a test. Logging appears to be working as expected!");
|
logger(2, logger, This is a test. Logging appears to be working as expected!);
|
||||||
} else {
|
} else {
|
||||||
say "This is not a log message. There appears to be something wrong with the logger. It has not been detected as `!true` or `true`. Please investigate.";
|
say "This is not a log message. There appears to be something wrong with the logger. It has not been detected as `!true` or `true`. Please investigate.";
|
||||||
}
|
}
|
||||||
@ -52,23 +52,23 @@ class logger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function test_fatal() {
|
function test_fatal() {
|
||||||
logger(5, "logger", "This is a test");
|
logger(5, logger, This is a test);
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_error() {
|
function test_error() {
|
||||||
logger(4, "logger", "This is a test");
|
logger(4, logger, This is a test);
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_warning() {
|
function test_warning() {
|
||||||
logger(3, "logger", "This is a test");
|
logger(3, logger, This is a test);
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_info() {
|
function test_info() {
|
||||||
logger(2, "logger", "This is a test");
|
logger(2, logger, This is a test);
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_debug() {
|
function test_debug() {
|
||||||
logger(1, "logger", "This is a test");
|
logger(1, logger, This is a test);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user