clear_log_buffer Subroutine

public pure subroutine clear_log_buffer(buf)

Reset the buffer to empty. Call after flushing if you want to reuse it.

Arguments

Type IntentOptional Attributes Name
type(log_buffer_type), intent(inout) :: buf

Called by

proc~~clear_log_buffer~~CalledByGraph proc~clear_log_buffer clear_log_buffer proc~flush_log_buffer flush_log_buffer proc~flush_log_buffer->proc~clear_log_buffer

Source Code

   pure subroutine clear_log_buffer(buf)
      !! Reset the buffer to empty. Call after flushing if you want to reuse it.
      type(log_buffer_type), intent(inout) :: buf
      buf%count = 0
      buf%overflow = 0
      buf%truncated = 0
   end subroutine clear_log_buffer