fix(core): update
This commit is contained in:
15
ts/manager.log/logmanager.ts
Normal file
15
ts/manager.log/logmanager.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import * as plugins from '../cloudly.plugins.js';
|
||||
import { Cloudly } from '../cloudly.classes.cloudly.js';
|
||||
|
||||
/**
|
||||
* takes care of receiving and providing logs
|
||||
*/
|
||||
export class LogManager {
|
||||
public cloudlyRef: Cloudly;
|
||||
public typedRouter = new plugins.typedrequest.TypedRouter();
|
||||
|
||||
constructor(cloudlyRefArg: Cloudly) {
|
||||
this.cloudlyRef = cloudlyRefArg;
|
||||
this.cloudlyRef.typedrouter.addTypedRouter(this.typedRouter);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user