8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e49f710 commit 8f9b444Copy full SHA for 8f9b444
example.js
@@ -5,7 +5,7 @@ log4js.configure({
5
{
6
type: "file",
7
filename: "cheese.log",
8
- categories: [ 'cheese','console' ]
+ category: [ 'cheese','console' ]
9
},
10
11
type: "console"
@@ -31,5 +31,9 @@ logger.warn('Cheese is quite smelly.');
31
logger.error('Cheese %s is too ripe!', "gouda");
32
logger.fatal('Cheese was breeding ground for listeria.');
33
34
+//these don't end up in cheese.log, but will appear on the console
35
+var anotherLogger = log4js.getLogger('another');
36
+anotherLogger.debug("Just checking");
37
+
38
39
0 commit comments