Close the log file, needs to be called at the end of the program
Usage: call my_logger%close_log_file()
TODO: revisit
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(logger_type), | intent(inout) | :: | self |
subroutine close_log_file(self) !! Close the log file, needs to be called at the end of the program !! !! Usage: call my_logger%close_log_file() !! !! TODO: revisit class(logger_type), intent(inout) :: self if (self%log_file_open) then close (self%log_file_unit) self%log_file_open = .false. self%log_file_unit = -1 end if end subroutine close_log_file