You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/classes/IterableLogger.ts
+29-4Lines changed: 29 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,9 @@ export class IterableLogger {
37
37
staticloggingEnabled=DEFAULT_LOGGING_ENABLED;
38
38
39
39
/**
40
-
* The level of logging to show in the developer console.
40
+
* The level of logging.
41
+
*
42
+
* This controls which logs will show when using the {@link IterableLogger.error}, {@link IterableLogger.debug}, and {@link IterableLogger.info} methods.
41
43
*/
42
44
staticlogLevel=DEFAULT_LOG_LEVEL;
43
45
@@ -67,6 +69,11 @@ export class IterableLogger {
67
69
* Logs a message to the console if logging is enabled.
68
70
*
69
71
* @param message - The message to be logged.
72
+
*
73
+
* @example
74
+
* ```typescript
75
+
* IterableLogger.log('I will show if logging is enabled');
0 commit comments