mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
Merge commit 'upstream/master~550' into merge_7_25
This commit is contained in:
@@ -5,6 +5,13 @@ function aSimpleLoggingMessageString() {
|
||||
log.info("Hello World");
|
||||
}
|
||||
|
||||
function compareLogLevelsAndLog() {
|
||||
var log = log4javascript.getDefaultLogger();
|
||||
if (log4javascript.Level.INFO.isGreaterOrEqual(log.getLevel())) {
|
||||
log.log(log4javascript.Level.INFO, ["Info"]);
|
||||
}
|
||||
}
|
||||
|
||||
function loggingAnErrorWithAMessage() {
|
||||
var log = log4javascript.getDefaultLogger();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user