tem_logging_init_logger Subroutine

private subroutine tem_logging_init_logger(me, level, rank, filename, root_only, real_form, int_form)

Initialize a logging data type.

Arguments

TypeIntentOptionalAttributesName
type(tem_logging_type), intent(out) :: me

Logger to initialize

integer, intent(in) :: level

Level of output to log with this logger

integer, intent(in) :: rank

Rank of the process executing the initialization.

character(len=*), intent(in), optional :: filename

File to write output to, default is null device.

If this is empty or not provided, the output will be to the null device. To send messages to the stdout set this parameter to '/stdout:'.

logical, intent(in), optional :: root_only

Indicate if root only should write messages Default is true.

character(len=*), intent(in), optional :: real_form

Format to write real numbers. Default is 'EN12.3'

character(len=*), intent(in), optional :: int_form

Format to write integer numbers. Default is 'I0'


Calls

proc~~tem_logging_init_logger~~CallsGraph proc~tem_logging_init_logger tem_logging_init_logger proc~newunit newunit proc~tem_logging_init_logger->proc~newunit proc~tem_connect_tonull tem_connect_toNull proc~tem_logging_init_logger->proc~tem_connect_tonull proc~tem_connect_tonull->proc~newunit

Called by

proc~~tem_logging_init_logger~~CalledByGraph proc~tem_logging_init_logger tem_logging_init_logger proc~tem_logging_load tem_logging_load proc~tem_logging_load->proc~tem_logging_init_logger proc~tem_logging_init_primary tem_logging_init_primary proc~tem_logging_load->proc~tem_logging_init_primary proc~tem_logging_init_primary->proc~tem_logging_init_logger interface~tem_logging_init tem_logging_init interface~tem_logging_init->proc~tem_logging_init_logger interface~tem_logging_init->proc~tem_logging_init_primary program~tem_varsys_stfunvar_test tem_varSys_stfunVar_test program~tem_varsys_stfunvar_test->interface~tem_logging_init proc~load_env load_env program~tem_varsys_stfunvar_test->proc~load_env program~tem_variable_evaltype_test tem_variable_evaltype_test program~tem_variable_evaltype_test->interface~tem_logging_init program~tem_variable_evaltype_test->proc~load_env program~tem_spacetime_fun_test tem_spacetime_fun_test program~tem_spacetime_fun_test->interface~tem_logging_init program~tem_spacetime_fun_test->proc~load_env proc~tem_logging_load_primary tem_logging_load_primary proc~tem_logging_load_primary->proc~tem_logging_load proc~tem_logging_load_primary->proc~tem_logging_init_primary program~elem_memalloc elem_memAlloc program~elem_memalloc->interface~tem_logging_init program~tem_variable_extract_test tem_variable_extract_test program~tem_variable_extract_test->interface~tem_logging_init program~tem_variable_extract_test->proc~load_env program~tem_variable_combine_test tem_variable_combine_Test program~tem_variable_combine_test->interface~tem_logging_init program~tem_variable_combine_test->proc~load_env proc~tem_load_debug tem_load_debug proc~tem_load_debug->proc~tem_logging_load proc~tem_load_debug->interface~tem_logging_init program~derivedtype_memalloc derivedType_memAlloc program~derivedtype_memalloc->interface~tem_logging_init program~tem_varsys_opvar_test tem_varSys_opVar_test program~tem_varsys_opvar_test->interface~tem_logging_init program~tem_varsys_opvar_test->proc~load_env proc~load_env->proc~tem_logging_load_primary program~tem_sparta_test tem_sparta_test program~tem_sparta_test->proc~tem_logging_load_primary proc~check_serial_multilevel_facedesc check_serial_multilevel_faceDesc proc~check_serial_multilevel_facedesc->proc~tem_logging_load_primary proc~tem_debug_load_main tem_debug_load_main proc~tem_debug_load_main->proc~tem_load_debug program~tem_varsys_statevar_test tem_varSys_stateVar_test program~tem_varsys_statevar_test->proc~load_env program~tem_varsys_derivevar_test tem_varSys_deriveVar_test program~tem_varsys_derivevar_test->proc~load_env program~tem_varsys_test tem_varSys_test program~tem_varsys_test->proc~load_env program~tem_face_test~2 tem_face_test program~tem_face_test~2->proc~check_serial_multilevel_facedesc proc~check_serial_singlelevel_facedesc check_serial_singlelevel_faceDesc proc~check_serial_singlelevel_facedesc->proc~load_env proc~check_variableoperations check_variableOperations proc~check_variableoperations->proc~load_env proc~check_parallel_singlelevel_facedesc check_parallel_singlelevel_faceDesc proc~check_parallel_singlelevel_facedesc->proc~load_env

Contents


Variables

TypeVisibilityAttributesNameInitial
logical, private :: root_out
character(len=7), private :: rankstamp
character(len=pathLen), private :: fname
logical, private :: nUnitOpened
integer, private :: UnitNumber
logical, private :: file_exists