travel/admin/node_modules/bs-logger/dist/logger/context.d.ts

17 lines
442 B
TypeScript
Raw Normal View History

2024-06-24 11:28:18 +08:00
declare enum LogContexts {
application = "application",
hostname = "hostname",
logLevel = "logLevel",
namespace = "namespace",
package = "package"
}
interface LogContext {
[key: string]: any;
[LogContexts.application]?: string;
[LogContexts.hostname]?: string;
[LogContexts.logLevel]?: number;
[LogContexts.namespace]?: string;
[LogContexts.package]?: string;
}
export { LogContext, LogContexts };