fix(core): update
This commit is contained in:
parent
d9b1894872
commit
814c737345
@ -4,19 +4,21 @@ export type TEnvironment = 'local' | 'test' | 'staging' | 'production';
|
||||
export type TRuntime = 'node' | 'browser';
|
||||
|
||||
export interface ILogContext {
|
||||
zone?: string;
|
||||
company?: string;
|
||||
companyunit?: string;
|
||||
containerName?: string;
|
||||
environment: TEnvironment;
|
||||
runtime: TRuntime;
|
||||
zone: string;
|
||||
}
|
||||
|
||||
export interface ILogPackage {
|
||||
timestamp: number;
|
||||
type: TLogType;
|
||||
context: ILogContext;
|
||||
level: TLogLevel;
|
||||
message: string;
|
||||
data?: any;
|
||||
}
|
||||
|
||||
export interface ILogPackageAuthenticated {
|
||||
|
Loading…
Reference in New Issue
Block a user