Initialize a logging data type.
: this should move to a proper place and have a proper format!
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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' |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | root_out | ||||
character(len=7), | private | :: | rankstamp | ||||
character(len=pathLen), | private | :: | fname | ||||
logical, | private | :: | nUnitOpened | ||||
integer, | private | :: | UnitNumber | ||||
logical, | private | :: | file_exists |