logger_init Subroutine

private subroutine logger_init(this, fn, use_stdout)

Initializes a logger.

Arguments

Type IntentOptional AttributesName
class(logger_t), intent(out) :: this

A logger_t instance

character(len=*), intent(in) :: fn

Name of the log file. If use_stdout is true, fn is ignored.

logical, intent(in) :: use_stdout

Write all log messages to stdout rather than a file on disk? {T/F}


Contents

None