fix(api): streamline api
This commit is contained in:
		| @@ -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 | ||||
|   // ============= | ||||
|   | ||||
		Reference in New Issue
	
	Block a user