@@ -73,6 +73,7 @@ module stdlib_logger
73
73
type :: logger_type
74
74
! ! version: experimental
75
75
76
+ ! ! Public derived type ([Specification](../page/specs/stdlib_logger.html#the-derived-type-logger_type))
76
77
private
77
78
78
79
logical :: add_blank_line = .false.
@@ -120,7 +121,7 @@ subroutine add_log_file( self, filename, unit, action, position, status, &
120
121
! ! has the default value of `"REPLACE"`. `stat`, if present, has the value
121
122
! ! `success` if `filename` could be opened, `read_only_error` if `action` is
122
123
! ! `"read"`, and `open_failure` otherwise.
123
-
124
+ ! !([Specification](../page/specs/stdlib_logger.html#add_log_file-open-a-file-and-add-its-unit-to-self-log_units))
124
125
class(logger_type), intent (inout ) :: self
125
126
! ! The logger variable to which the file is to be added
126
127
character (* ), intent (in ) :: filename
@@ -235,6 +236,8 @@ subroutine add_log_unit( self, unit, stat )
235
236
! ! `"write"` or `"readwrite"`, otherwise either `stat`, if preseent, has a
236
237
! ! value other than `success` and `unit` is not entered into `log_units`,
237
238
! ! or, if `stat` is not presecn, processing stops.
239
+ ! !([Specification](../page/specs/stdlib_logger.html#add_log_unit-add-a-unit-to-the-array-self-log_units))
240
+
238
241
class(logger_type), intent (inout ) :: self
239
242
! ! The logger variable to which the I/O unit is to be added
240
243
integer , intent (in ) :: unit
@@ -386,7 +389,9 @@ pure subroutine configuration( self, add_blank_line, indent, &
386
389
! ! will have a time stamp, and `.false.` implying that there will be no
387
390
! ! time stamp.
388
391
! ! 5. `log_units` is an array of the I/O unit numbers to which log output
389
- ! ! will be written
392
+ ! ! will be written.
393
+ ! !([Specification](../page/specs/stdlib_logger.html#configuration-report-a-loggers-configuration))
394
+
390
395
class(logger_type), intent (in ) :: self
391
396
! ! The logger variable whose configuration is being reported
392
397
logical , intent (out ), optional :: add_blank_line
@@ -448,7 +453,7 @@ pure subroutine configure( self, add_blank_line, indent, max_width, &
448
453
! ! 4. `time_stamp` is a logical flag with `.true.` implying that the output
449
454
! ! will have a time stamp, and `.false.` implying that there will be no
450
455
! ! time stamp. `time_stamp` has a startup value of `.true.`.
451
-
456
+ ! !([Specification])(../page/specs/stdlib_logger.html#configure-configure-the-logging-process))
452
457
! !##### Example
453
458
! !
454
459
! ! program main
0 commit comments