agentscape
Version:
Agentscape is a library for creating agent-based simulations. It provides a simple API for defining agents and their behavior, and for defining the environment in which the agents interact. Agentscape is designed to be flexible and extensible, allowing
20 lines (19 loc) • 482 B
TypeScript
export declare enum LogLevel {
DISABLED = -1,
DEBUG = 0,
INFO = 1,
WARN = 2,
ERROR = 3
}
export default class Log {
private static level;
private static enabled;
static setLevel(level: LogLevel): void;
static enable(): void;
static disable(): void;
static getLevel(): LogLevel;
static debug(...args: any[]): void;
static info(...args: any[]): void;
static warn(...args: any[]): void;
static error(...args: any[]): void;
}