dm_log_is_valid Function

public pure elemental function dm_log_is_valid(log) result(valid)

Uses

  • proc~~dm_log_is_valid~~UsesGraph proc~dm_log_is_valid dm_log_is_valid module~dm_string dm_string proc~dm_log_is_valid->module~dm_string module~dm_error dm_error module~dm_string->module~dm_error module~dm_kind dm_kind module~dm_string->module~dm_kind module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Returns .true. if given log is valid. A log is valid if it conforms to the following rules:

  • The log level and the error code are valid.
  • The log id is a valid UUID and not the default UUID.
  • The time stamp is in ISO 8601 format.
  • All ASCII characters of the log message are printable.

Arguments

Type IntentOptional Attributes Name
type(log_type), intent(in) :: log

Log to validate.

Return Value logical


Calls

proc~~dm_log_is_valid~~CallsGraph proc~dm_log_is_valid dm_log_is_valid proc~dm_error_is_valid dm_error_is_valid proc~dm_log_is_valid->proc~dm_error_is_valid proc~dm_log_level_is_valid dm_log_level_is_valid proc~dm_log_is_valid->proc~dm_log_level_is_valid proc~dm_string_is_printable dm_string_is_printable proc~dm_log_is_valid->proc~dm_string_is_printable proc~dm_time_is_valid dm_time_is_valid proc~dm_log_is_valid->proc~dm_time_is_valid proc~dm_uuid4_is_valid dm_uuid4_is_valid proc~dm_log_is_valid->proc~dm_uuid4_is_valid proc~dm_ascii_is_printable dm_ascii_is_printable proc~dm_string_is_printable->proc~dm_ascii_is_printable proc~dm_ascii_is_digit dm_ascii_is_digit proc~dm_time_is_valid->proc~dm_ascii_is_digit

Called by

proc~~dm_log_is_valid~~CalledByGraph proc~dm_log_is_valid dm_log_is_valid proc~dm_db_insert_log dm_db_insert_log proc~dm_db_insert_log->proc~dm_log_is_valid interface~dm_db_insert dm_db_insert interface~dm_db_insert->proc~dm_db_insert_log