@ngx-smz/core 19.3.4 → 19.3.6
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,6 +5,8 @@ export interface ScopedLogger {
|
|
|
5
5
|
warn(message?: any, ...optionalParams: any[]): void;
|
|
6
6
|
error(message?: any, ...optionalParams: any[]): void;
|
|
7
7
|
debug(message?: any, ...optionalParams: any[]): void;
|
|
8
|
+
groupCollapsed(label?: string): void;
|
|
9
|
+
groupEnd(): void;
|
|
8
10
|
}
|
|
9
11
|
export declare class LoggingService {
|
|
10
12
|
private configFn;
|
|
@@ -13,7 +15,7 @@ export declare class LoggingService {
|
|
|
13
15
|
/** expose current settings */
|
|
14
16
|
readonly isEnabled: import("@angular/core").Signal<boolean>;
|
|
15
17
|
readonly currentLevel: import("@angular/core").Signal<"debug" | "info" | "warn" | "error">;
|
|
16
|
-
readonly activeScopes: import("@angular/core").Signal<
|
|
18
|
+
readonly activeScopes: import("@angular/core").Signal<string[]>;
|
|
17
19
|
/** toggle logging global */
|
|
18
20
|
enable(): void;
|
|
19
21
|
disable(): void;
|
|
@@ -23,11 +25,13 @@ export declare class LoggingService {
|
|
|
23
25
|
warn(message?: any, ...optionalParams: any[]): void;
|
|
24
26
|
error(message?: any, ...optionalParams: any[]): void;
|
|
25
27
|
debug(message?: any, ...optionalParams: any[]): void;
|
|
28
|
+
groupCollapsed(label?: string): void;
|
|
29
|
+
groupEnd(): void;
|
|
26
30
|
/**
|
|
27
31
|
* Retorna um logger com prefixo [owner] e restringe pelos scopes do config
|
|
28
32
|
* owner agora é um LoggingScope
|
|
29
33
|
*/
|
|
30
|
-
scoped(owner: LoggingScope): ScopedLogger;
|
|
34
|
+
scoped(owner: LoggingScope | string): ScopedLogger;
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoggingService, never>;
|
|
32
36
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoggingService>;
|
|
33
37
|
}
|