install-nix-action/node_modules/bs-logger/dist/logger/context.d.ts
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

16 lines
442 B
TypeScript

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 };