Compare commits

..

4 Commits

Author SHA1 Message Date
793cd38381 2.0.6 2018-11-04 14:19:31 +01:00
7a05e4484d fix(api): streamline api 2018-11-04 14:19:31 +01:00
2fe657f5af 2.0.5 2018-11-04 02:41:18 +01:00
5508beae25 fix(core): update 2018-11-04 02:41:18 +01:00
3 changed files with 7 additions and 13 deletions

8
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartlog", "name": "@pushrocks/smartlog",
"version": "2.0.4", "version": "2.0.6",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -168,9 +168,9 @@
} }
}, },
"@pushrocks/smartlog-interfaces": { "@pushrocks/smartlog-interfaces": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/@pushrocks/smartlog-interfaces/-/smartlog-interfaces-2.0.0.tgz", "resolved": "https://registry.npmjs.org/@pushrocks/smartlog-interfaces/-/smartlog-interfaces-2.0.1.tgz",
"integrity": "sha512-rk3uEp78AXLULS81SUe6YtZvyQiDImuJu/zxnIzzUFDB6ciisqtJ1qVcHYbVsW/kImeo8vBFlQyKY9/YaNgkDw==" "integrity": "sha512-c9onE52z/5fGX5uEvaI/rXbcC6n7PkLrNjehRM+6JsK7HIbdAzrgY1PGrqUfW0a03hSe03mFcggORID+fQI4tA=="
}, },
"@pushrocks/smartpath": { "@pushrocks/smartpath": {
"version": "4.0.1", "version": "4.0.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartlog", "name": "@pushrocks/smartlog",
"version": "2.0.4", "version": "2.0.6",
"private": false, "private": false,
"description": "winston based logger for large scale projects", "description": "winston based logger for large scale projects",
"main": "dist/index.js", "main": "dist/index.js",
@ -22,6 +22,6 @@
"tslint-config-prettier": "^1.15.0" "tslint-config-prettier": "^1.15.0"
}, },
"dependencies": { "dependencies": {
"@pushrocks/smartlog-interfaces": "^2.0.0" "@pushrocks/smartlog-interfaces": "^2.0.1"
} }
} }

View File

@ -16,7 +16,7 @@ export class Smartlog {
private consoleEnabled: boolean; private consoleEnabled: boolean;
public logRouter = new LogRouter(); private logRouter = new LogRouter();
public addLogDestination = this.logRouter.addLogDestination; public addLogDestination = this.logRouter.addLogDestination;
@ -37,12 +37,6 @@ export class Smartlog {
this.consoleEnabled = true; this.consoleEnabled = true;
} }
/**
* set a minimum serverity level to log
* @param levelArg
*/
level(levelArg: TLogLevel) {}
// ============= // =============
// log functions // log functions
// ============= // =============