Determine the output unit for a given log level and update LOGGER_OK.
This function returns the Fortran unit where the message should be written, and sets LOGGER_OK to indicate if the log should be written.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in) | :: | level |
Log level of the message |
The Fortran output unit (or -1 if logging is disabled)