mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
rename to log4js
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// <reference path="./log4js-node.d.ts" />
|
||||
/// <reference path="./log4js.d.ts" />
|
||||
import log4js = require('log4js');
|
||||
|
||||
log4js.addAppender(log4js.appenders.file('logs/cheese.log'), 'cheese');
|
||||
@@ -24,4 +24,4 @@ log4js.configure({
|
||||
});
|
||||
|
||||
var defaultLogger = log4js.getDefaultLogger();
|
||||
defaultLogger.debug('Got cheese.');
|
||||
defaultLogger.debug('Got cheese.');
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for log4js-node
|
||||
// Type definitions for log4js
|
||||
// Project: https://github.com/nomiddlename/log4js-node
|
||||
// Definitions by: Kentaro Okuno <http://github.com/armorik83>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
Reference in New Issue
Block a user