fix(api): streamline api
This commit is contained in:
parent
2fe657f5af
commit
7a05e4484d
@ -16,7 +16,7 @@ export class Smartlog {
|
||||
|
||||
private consoleEnabled: boolean;
|
||||
|
||||
public logRouter = new LogRouter();
|
||||
private logRouter = new LogRouter();
|
||||
|
||||
public addLogDestination = this.logRouter.addLogDestination;
|
||||
|
||||
@ -37,12 +37,6 @@ export class Smartlog {
|
||||
this.consoleEnabled = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* set a minimum serverity level to log
|
||||
* @param levelArg
|
||||
*/
|
||||
level(levelArg: TLogLevel) {}
|
||||
|
||||
// =============
|
||||
// log functions
|
||||
// =============
|
||||
|
Loading…
Reference in New Issue
Block a user