smartlog-interfaces/dist/index.d.ts

12 lines
404 B
TypeScript
Raw Normal View History

2018-02-08 00:52:08 +00:00
export declare type TLogLevel = "error" | "warn" | "info" | "verbose" | "debug" | "silly";
export interface ILogContext {
zone?: string;
company?: string;
companyunit?: string;
containerName?: string;
environment: TEnvironment;
runtime: TRuntime;
}
export declare type TEnvironment = "local" | "test" | "staging" | "production";
export declare type TRuntime = "node" | "browser";