log_info Subroutine

public subroutine log_info(source, message, log, i1, i2, int, real, ints, reals)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: source
character(len=*), intent(in) :: message
type(logger), intent(in), optional :: log
integer, intent(in), optional :: i1
integer, intent(in), optional :: i2
integer, intent(in), optional :: int
real(kind=dp), intent(in), optional :: real
integer, intent(in), optional :: ints(:)
real(kind=dp), intent(in), optional :: reals(:)

Calls

proc~~log_info~~CallsGraph proc~log_info log_info proc~log_message log_message proc~log_info->proc~log_message proc~log_write log_write proc~log_message->proc~log_write proc~log_format_message log_format_message proc~log_message->proc~log_format_message proc~to_string to_string proc~log_write->proc~to_string proc~date_time_str date_time_str proc~log_format_message->proc~date_time_str proc~colourise colourise proc~log_format_message->proc~colourise proc~string_index string_index proc~colourise->proc~string_index

Called by

proc~~log_info~~CalledByGraph proc~log_info log_info proc~reservoir_initialise reservoir_initialise proc~reservoir_initialise->proc~log_info proc~hydrotope_subbasin_division hydrotope_subbasin_division proc~hydrotope_subbasin_division->proc~log_info proc~initialise initialise proc~initialise->proc~log_info proc~initialise->proc~reservoir_initialise proc~input_nc_initialise input_nc_initialise proc~initialise->proc~input_nc_initialise proc~management_initialise management_initialise proc~initialise->proc~management_initialise proc~soil_initialise soil_initialise proc~initialise->proc~soil_initialise proc~hydrotope_initialise hydrotope_initialise proc~initialise->proc~hydrotope_initialise proc~input_nc_initialise->proc~log_info proc~management_read_ctrl management_read_ctrl proc~management_read_ctrl->proc~log_info proc~time_process_years time_process_years proc~time_process_years->proc~log_info proc~soil_read_input soil_read_input proc~soil_read_input->proc~log_info proc~hydrotope_read_input hydrotope_read_input proc~hydrotope_read_input->proc~log_info proc~management_initialise->proc~log_info proc~management_initialise->proc~management_read_ctrl proc~soil_initialise->proc~soil_read_input proc~hydrotope_initialise->proc~hydrotope_subbasin_division proc~hydrotope_initialise->proc~hydrotope_read_input program~swim swim program~swim->proc~initialise program~swim->proc~time_process_years

Contents

Source Code


Source Code

  subroutine log_info(source, message, log, i1, i2, int, real, ints, reals)
    ! Writes run-time information to STDERR, STDOUT, and/or a log-file.

    ! The name of the procedure which produced the error
    character(len=*), intent(in) :: source
    ! The information to be written.
    character(len=*), intent(in) :: message
    ! optional logger, defaults to master_log
    type(logger), intent(in), optional :: log
    ! optional index, single int/real or 1D arrays to append to message
    integer, intent(in), optional :: i1, i2, int, ints(:)
    real(dp), intent(in), optional :: real, reals(:)
    call log_message(source, log_info_level, message, log, i1, i2, int, real, ints, reals)
  end subroutine log_info