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 type TRuntime = 'node' | 'browser';
|
||||||
|
|
||||||
export interface ILogContext {
|
export interface ILogContext {
|
||||||
zone?: string;
|
|
||||||
company?: string;
|
company?: string;
|
||||||
companyunit?: string;
|
companyunit?: string;
|
||||||
containerName?: string;
|
containerName?: string;
|
||||||
environment: TEnvironment;
|
environment: TEnvironment;
|
||||||
runtime: TRuntime;
|
runtime: TRuntime;
|
||||||
|
zone: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ILogPackage {
|
export interface ILogPackage {
|
||||||
|
timestamp: number;
|
||||||
type: TLogType;
|
type: TLogType;
|
||||||
context: ILogContext;
|
context: ILogContext;
|
||||||
level: TLogLevel;
|
level: TLogLevel;
|
||||||
message: string;
|
message: string;
|
||||||
|
data?: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ILogPackageAuthenticated {
|
export interface ILogPackageAuthenticated {
|
||||||
|
Loading…
Reference in New Issue
Block a user