log_warn Subroutine

public subroutine log_warn(w, msg)

Log a warning message.

Arguments

Type IntentOptional Attributes Name
type(watch_opts_t), intent(in) :: w
character(len=*), intent(in) :: msg

Calls

proc~~log_warn~~CallsGraph proc~log_warn log_warn colorize colorize proc~log_warn->colorize

Called by

proc~~log_warn~~CalledByGraph proc~log_warn log_warn proc~enable_features enable_features proc~enable_features->proc~log_warn proc~watcher_init watcher_t%watcher_init proc~watcher_init->proc~enable_features

Source Code

   subroutine log_warn(w, msg)
      type(watch_opts_t), intent(in) :: w
      character(len=*), intent(in)   :: msg
      if (w%verbosity < 0) return
      write(output_unit,'(a)') &
         colorize("warn       |", color_fg='yellow_intense', style='bold_on') // "  " // trim(msg)
   end subroutine log_warn