mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00: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