@oino-ts/types 0.15.2 → 0.16.0
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.
- package/common/src/OINOLog.d.ts +7 -7
- package/package.json +1 -1
package/common/src/OINOLog.d.ts
CHANGED
|
@@ -62,17 +62,17 @@ export declare abstract class OINOLog {
|
|
|
62
62
|
* Multiple settings can be combined to set different logging accuracy specifically
|
|
63
63
|
*
|
|
64
64
|
* For example:
|
|
65
|
-
* logLevel: warning, domain:
|
|
66
|
-
* logLevel: debug, domain: d1, channel: c1, method: "
|
|
65
|
+
* logLevel: warning, domain: "", channel: "", method: "" will only output warning and higher events.
|
|
66
|
+
* logLevel: debug, domain: d1, channel: c1, method: "" will enable debug events for channel c1 of domain d1.
|
|
67
67
|
* logLevel: info, domain: d1, channel: c1, method: m1 will supress debug events for method m1.
|
|
68
68
|
*
|
|
69
69
|
* @param logLevel log level to use
|
|
70
|
-
* @param domain domain of the log event (default: "
|
|
71
|
-
* @param channel channel of the log event (default: "
|
|
72
|
-
* @param method method of the log event (default: "
|
|
73
|
-
*
|
|
70
|
+
* @param domain domain of the log event (default: "" for all)
|
|
71
|
+
* @param channel channel of the log event (default: "" for all)
|
|
72
|
+
* @param method method of the log event (default: "" for all)
|
|
73
|
+
* @param message message of the log event (default: "" for all)
|
|
74
74
|
*/
|
|
75
|
-
static setLogLevel(logLevel: OINOLogLevel, domain?: string, channel?: string, method?: string): void;
|
|
75
|
+
static setLogLevel(logLevel: OINOLogLevel, domain?: string, channel?: string, method?: string, message?: string): void;
|
|
76
76
|
/**
|
|
77
77
|
* Log exception event. Exception events are prettyprinted and preserve newlines so that stack traces are readable.
|
|
78
78
|
*
|