Log a debug message (prints only when debug is enabled).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(watch_opts_t), | intent(in) | :: | w | |||
| character(len=*), | intent(in) | :: | msg |
subroutine log_debug(w, msg) type(watch_opts_t), intent(in) :: w character(len=*), intent(in) :: msg if (.not. w%debug) return write(output_unit,'(a)') & colorize("debug |", color_fg='magenta_intense', style='bold_on') // " " // trim(msg) end subroutine log_debug