Check if the given logger is active for the given level.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_logging_type), | intent(in) | :: | me | |||
integer, | intent(in) | :: | level |
function tem_logging_isActive_for(me, level) result(isActive) ! --------------------------------------------------------------------------- !> type(tem_logging_type), intent(in) :: me !> integer, intent(in) :: level !> logical :: isActive ! --------------------------------------------------------------------------- isActive = (me%participating .and. (me%log_level >= level)) end function tem_logging_isActive_for