Skip to content

Commit bbaffaa

Browse files
committed
fix: incldueMemoryUsage default state is false
1 parent 4ac2e63 commit bbaffaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/configuration-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `advanced-console-log` module offers a wide range of configuration options t
1111
| `logLevel` | `number` | `1` | Sets the console [log level](log-levels.md). Accepts values from `0` (debug) to `5` (fatal). |
1212
| `terminateOnFatal` | `boolean` | `false` | If `true`, terminates the current process upon a `fatal` message. |
1313
| `includeTimestamps` | `boolean` | `true` | Determines whether to include timestamps in log messages. |
14-
| `includeMemoryUsage` | `boolean` | `true` | If `true`, includes memory usage information in log messages. |
14+
| `includeMemoryUsage` | `boolean` | `false` | If `true`, includes memory usage information in log messages. |
1515
| `generateReport` | `boolean` | `false` | If `true`, generates a summary report showing the number of times each log method was called. |
1616
| `memoryCheckFrequency` | `number` | `10` | Defines the frequency of memory checks. |
1717
| `memoryDisplayMode` | `number` | `1` | Defines the format for memory usage display. (1 is `MB`, 2 is `%`, and 3 is both). |

src/acl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ACL {
3131
* @param {number} [config.outputFilenameLogLevel=1] - File logging level.
3232
* @param {string} [config.outputFilename=null] - Output file name for log messages.
3333
* @param {boolean} [config.includeTimestamps=true] - Whether to include timestamps in logs.
34-
* @param {boolean} [config.includeMemoryUsage=true] - Whether to include memory usage in logs.
34+
* @param {boolean} [config.includeMemoryUsage=false] - Whether to include memory usage in logs.
3535
* @param {number} [config.memoryCheckFrequency=10] - Frequency of memory checks.
3636
* @param {number} [config.memoryDisplayMode=1] - Memory display mode (1: MB, 2: %, 3: both).
3737
* @param {Object} [config.color] - Color overrides for different log levels.

0 commit comments

Comments
 (0)