Skip to content

Commit 5d3dd46

Browse files
authored
Apply suggestions from code review
1 parent 07f7cbd commit 5d3dd46

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/stdlib_logger.f90

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ module stdlib_logger
7373
type :: logger_type
7474
!! version: experimental
7575

76+
!! Public derived type ([Specification](../page/specs/stdlib_logger.html#the-derived-type-logger_type))
7677
private
7778

7879
logical :: add_blank_line = .false.
@@ -120,7 +121,7 @@ subroutine add_log_file( self, filename, unit, action, position, status, &
120121
!! has the default value of `"REPLACE"`. `stat`, if present, has the value
121122
!! `success` if `filename` could be opened, `read_only_error` if `action` is
122123
!! `"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))
124125
class(logger_type), intent(inout) :: self
125126
!! The logger variable to which the file is to be added
126127
character(*), intent(in) :: filename
@@ -235,6 +236,8 @@ subroutine add_log_unit( self, unit, stat )
235236
!! `"write"` or `"readwrite"`, otherwise either `stat`, if preseent, has a
236237
!! value other than `success` and `unit` is not entered into `log_units`,
237238
!! 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+
238241
class(logger_type), intent(inout) :: self
239242
!! The logger variable to which the I/O unit is to be added
240243
integer, intent(in) :: unit
@@ -386,7 +389,9 @@ pure subroutine configuration( self, add_blank_line, indent, &
386389
!! will have a time stamp, and `.false.` implying that there will be no
387390
!! time stamp.
388391
!! 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+
390395
class(logger_type), intent(in) :: self
391396
!! The logger variable whose configuration is being reported
392397
logical, intent(out), optional :: add_blank_line
@@ -448,7 +453,7 @@ pure subroutine configure( self, add_blank_line, indent, max_width, &
448453
!! 4. `time_stamp` is a logical flag with `.true.` implying that the output
449454
!! will have a time stamp, and `.false.` implying that there will be no
450455
!! time stamp. `time_stamp` has a startup value of `.true.`.
451-
456+
!!([Specification])(../page/specs/stdlib_logger.html#configure-configure-the-logging-process))
452457
!!##### Example
453458
!!
454459
!! program main

0 commit comments

Comments
 (0)