@seidor-cloud-produtos/orbit-backend-lib 2.0.57 → 2.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ export interface LoggerInMemoryOptions extends LogOptions {
|
|
|
5
5
|
}
|
|
6
6
|
export declare class LoggerInMemory extends LoggerGateway {
|
|
7
7
|
protected options: LoggerInMemoryOptions;
|
|
8
|
-
constructor(cache
|
|
8
|
+
constructor(cache?: Cache, options?: LoggerInMemoryOptions, params?: LogParams);
|
|
9
9
|
log(props: LogPropertiesInput, dataToLog: any): Promise<void>;
|
|
10
10
|
protected register(props: LogPropertiesInput, dataToLog: any): void;
|
|
11
11
|
}
|
|
@@ -46,7 +46,7 @@ export declare class LoggerOrbit extends LoggerGateway {
|
|
|
46
46
|
private queue;
|
|
47
47
|
protected options: LoggerOrbitOptions;
|
|
48
48
|
protected params?: LogOrbitParams;
|
|
49
|
-
constructor(queue: Queue, cache
|
|
49
|
+
constructor(queue: Queue, cache?: Cache, options?: LoggerOrbitOptions, params?: LogOrbitParams);
|
|
50
50
|
log(props: LogOrbitPropertiesInput, dataToLog: any): Promise<void>;
|
|
51
51
|
protected isToLog(props: LogOrbitProperties, dataToLog: any): Promise<boolean>;
|
|
52
52
|
register(props: LogOrbitProperties, data: any): Promise<void>;
|