entangle.ts
Version:
A declarative, event-driven framework for orchestrating business logic in TypeScript & Node.js applications.
15 lines (14 loc) • 333 B
TypeScript
export type LoggingMode = 'custom' | 'debug' | 'off';
export declare enum ELogType {
CREATION = "CREATION",
DESTRUCTION = "DESTRUCTION",
INTERACTION = "INTERACTION",
ERROR = "ERROR"
}
export interface ILog {
type: ELogType;
message: string;
}
export interface ILogger {
log: (logDetails: ILog) => void;
}