Skip to content

Commit 7998a9c

Browse files
authored
Apply suggestions from code review
1 parent 5d3dd46 commit 7998a9c

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/stdlib_logger.f90

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ end subroutine configure
485485
subroutine final_logger( self )
486486
!! version: experimental
487487

488-
!! finalizes the `logger_type` entity `self` by flushing the units
488+
!! Finalizes the `logger_type` entity `self` by flushing the units
489489
type(logger_type), intent(in) :: self
490490

491491
integer :: iostat
@@ -682,7 +682,8 @@ end subroutine handle_write_failure
682682
subroutine log_error( self, message, module, procedure, stat, errmsg )
683683
!! Writes the string `message` to `self % log_units` with optional additional
684684
!! text.
685-
!!
685+
!! ([Specification](../specs/stdlib_logger.html#log_error-writes-the-string-message-to-self-log_units))
686+
686687
!!##### Behavior
687688
!!
688689
!! If time stamps are active, a time stamp is written, followed by
@@ -783,6 +784,7 @@ end subroutine log_error
783784
subroutine log_information( self, message, module, procedure )
784785
!! Writes the string `message` to `self % log_units` with optional additional
785786
!! text.
787+
!!([Specification](../page/specs/stdlib_logger.html#log_information-writes-the-string-message-to-self-log_units))
786788
!!
787789
!!##### Behavior
788790
!!
@@ -930,6 +932,7 @@ subroutine log_message( self, message, module, procedure, prefix )
930932

931933
!! Writes the string `message` to the `self % log_units` with optional
932934
!! additional text.
935+
!!([Specification])(../page/specs/stdlib_logger.html#log_message-write-the-string-message-to-self-log_units))
933936
!!
934937
!!##### Behavior
935938
!!
@@ -1038,7 +1041,8 @@ subroutine log_text_error( self, line, column, summary, filename, &
10381041

10391042
!! Sends a message to `self % log_units` describing an error found
10401043
!! in a line of text.
1041-
!!
1044+
!!([Specification])(../page/specs/stdlib_logger.html#log_text_error-send-a-message-to-self-log_units-describing-an-error))
1045+
10421046
!!##### Behavior
10431047
!!
10441048
!! If time stamps are active first a time stamp is written. Then if
@@ -1188,6 +1192,8 @@ end subroutine log_text_error
11881192

11891193
elemental function log_units_assigned(self)
11901194
!! Returns the number of units assigned to `self % log_units`
1195+
!!([Specification](../page/specs/stdlib_logger.html#log_units_assigned-returns-the-number-of-active-io-units))
1196+
11911197
class(logger_type), intent(in) :: self
11921198
!! The logger subject to the inquiry
11931199
integer :: log_units_assigned
@@ -1220,7 +1226,8 @@ end function log_units_assigned
12201226

12211227
subroutine log_warning( self, message, module, procedure )
12221228
!! Writes the string `message` to `self % log_units` with optional additional text.
1223-
!!
1229+
!!([Specification])(../page/specs/stdlib_logger.html#log_warning-write-the-string-message-to-log_units)
1230+
12241231
!!##### Behavior
12251232
!!
12261233
!! If time stamps are active, a time stamp is written, followed by
@@ -1277,6 +1284,8 @@ subroutine remove_log_unit( self, unit, close_unit, stat )
12771284
!! has the value `success`. If closing the `unit` fails, then if `stat` is
12781285
!! present it has the value `close_failure`, otherwise processing stops
12791286
!! with an informative message.
1287+
!!([Specification])(../page/specs/stdlib_logger.html#remove_log_unit-remove-unit-from-self-log_units))
1288+
12801289
class(logger_type), intent(inout) :: self
12811290
!! The logger variable whose unit is to be removed
12821291
integer, intent(in) :: unit

0 commit comments

Comments
 (0)