logger Interface

public interface logger


Module Procedures

private function constructor(logfile, stderr_threshold, stdout_threshold, logfile_threshold) result(this)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: logfile

Name of the log-file to which output will be written

integer, intent(in), optional :: stderr_threshold

Threshold priority, at and above which messages will be written to standard error. Defaults to error.

integer, intent(in), optional :: stdout_threshold

Threshold priority, at and above which messages will be written to standard out. Defaults to info.

integer, intent(in), optional :: logfile_threshold

Threshold priority, at and above which messages will be written to the log file. Defaults to trivia.

Return Value type(logger)