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: doc/specs/stdlib_logger.md
+71-1Lines changed: 71 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The logger variables have the option to:
29
29
that prompted the log message;
30
30
* follow a message with the `iostat` and `iomsg` of the I/O error
31
31
report that prompted the log message;
32
-
* label a message with one of `'INFO: '`, `'WARN: '`,
32
+
* label a message with one of `'DEBUG: '`, `'INFO: '`, `'WARN: '`,
33
33
`'ERROR: '`, or `'I/O ERROR: '`;
34
34
* indent subsequent lines of the messages; and
35
35
* format the text to fit within a maximum column width.
@@ -110,6 +110,7 @@ Method | Class | Description
110
110
[`add_log_unit`](./stdlib_logger.html#add_log_unit-add-a-unit-to-the-array-self-log_units) | Subroutine | Adds an existing unit to the `log_units` list
111
111
[`configuration`](./stdlib_logger.html#configuration-report-a-loggers-configuration) | Subroutine | Reports the details of the logging configuration
112
112
[`configure`](./stdlib_logger.html#configure-configure-the-logging-process) | Subroutine | Configures the details of the logging process
113
+
[`log_debug`](./stdlib_logger.html#log_debug-writes-the-string-message-to-self-log_units) | Subroutine | Sends a message prepended by `'DEBUG: '`
113
114
[`log_error`](./stdlib_logger.html#log_error-writes-the-string-message-to-self-log_units) | Subroutine | Sends a message prepended by `'ERROR: '` optionally followed by a `stat` or `errmsg`
114
115
[`log_information`](./stdlib_logger.html#log_information-writes-the-string-message-to-self-log_units) | Subroutine | Sends a message prepended by `'INFO: '`
115
116
[`log_io_error`](./stdlib_logger.html#log_io_error-write-the-string-message-to-self-log_units) | Subroutine | Sends a message prepended by `'I/O ERROR: '` optionally followed by an `iostat` or `iomsg`
@@ -395,6 +396,75 @@ program demo_configure
395
396
end program demo_configure
396
397
```
397
398
399
+
### `log_debug` - Writes the string `message` to `self % log_units`
400
+
401
+
#### Status
402
+
403
+
Experimental
404
+
405
+
#### Description
406
+
407
+
Writes the string `message` to `self % log_units` with optional additional text.
0 commit comments