mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Internal logger logLog added
This commit is contained in:
1 parent
781e4c294d
commit
e9cc82ad94
2 files changed
+39
-27
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/// <reference path="log4javascript.d.ts" />
|
||||
/// <reference path="./log4javascript.d.ts" />
|
||||
|
||||
function aSimpleLoggingMessageString() {
|
||||
var log = log4javascript.getDefaultLogger();
|
||||
@@ -47,4 +47,8 @@ function changingTheFormatOfLogMessages() {
|
||||
var popUpAppender = new log4javascript.PopUpAppender();
|
||||
var layout = new log4javascript.PatternLayout("[%-5p] %m");
|
||||
popUpAppender.setLayout(layout);
|
||||
}
|
||||
|
||||
function configureLogLog() {
|
||||
log4javascript.logLog.setQuietMode(true);
|
||||
}
|
||||
Reference in new issue
Block a user