16 USE iso_c_binding,
ONLY: c_ptr
28 CHARACTER(LEN=*),
INTENT(IN) :: msg
30 IF (
state%lstdout .AND.
state%current_plugin%log_debug)
THEN
31 WRITE(
state%output_unit, *)
"DEBUG(" //
state%current_plugin%name //
"): " // trim(msg)
37 BIND(C, name="comin_print_debug")
38 TYPE(c_ptr),
VALUE,
INTENT(IN) :: msg
47 CHARACTER(LEN=*),
INTENT(IN) :: msg
49 IF (
state%lstdout .AND.
state%current_plugin%log_info)
THEN
50 WRITE(
state%output_unit, *)
"INFO(" //
state%current_plugin%name //
"): " // trim(msg)
56 BIND(C, name="comin_print_info")
57 TYPE(c_ptr),
VALUE,
INTENT(IN) :: msg
66 CHARACTER(LEN=*),
INTENT(IN) :: msg
68 IF (
state%lstdout .AND.
state%current_plugin%log_warning)
THEN
69 WRITE(
state%output_unit, *)
"WARNING(" //
state%current_plugin%name //
"): " // trim(msg)
75 BIND(C, name="comin_print_warning")
76 TYPE(c_ptr),
VALUE,
INTENT(IN) :: msg
subroutine, public comin_print_info(msg)
Prints a info message if the plugin has set log_info (enabled per default) The message will only be p...
subroutine, public comin_print_warning(msg)
Prints a warning if the plugin has set log_warning (enabled per default) The message will only be pri...
subroutine, public comin_print_debug(msg)
Prints a debug message if the plugin has set log_debug (disabled per default) The message will only b...
subroutine comin_print_debug_c(msg)
subroutine comin_print_info_c(msg)
subroutine comin_print_warning_c(msg)
type(t_comin_state), pointer, public state