Logging. More...
Functions | |
| subroutine | mod_display_banner::display_banner () |
| Notus banner display routine. | |
| subroutine | mod_notus_log::notus_log (message, depth, type, processor_rank) |
| Log message. | |
| subroutine | mod_notus_log::notus_log_skip_line (type, processor_rank) |
| Skip a line in the log. | |
| subroutine | mod_notus_log::notus_log_double (message, double, depth, type, processor_rank) |
| Log message with a floating point number. | |
Variables | |
| integer, parameter | mod_notus_log::notus_log_length = 132 |
| Maximal length of a log message. | |
| integer, parameter | mod_notus_log::notus_log_solver_status_length = 61 |
| Maximal length of a solver log message. | |
| logical | mod_notus_log::log_has_color = .true. |
| Output color. | |
Logging.
| subroutine mod_display_banner::display_banner |
Notus banner display routine.
| subroutine mod_notus_log::notus_log | ( | character(len=*), intent(in) | message, |
| integer, intent(in) | depth, | ||
| integer, intent(in), optional | type, | ||
| integer, intent(in), optional | processor_rank ) |
Log message.
By default, the routine log the message to the standard or error output.
The log messages are classified by depth and type:
depth argument creates a hierarchy between messages. A message of depth n is related to a message of depth n-1.type argument defines the type of the message. There are 4 types of messages:notus_log_normal: Normal message (default)notus_log_highlight_information: Normal message but want to highlight for ease of reading standard output filenotus_log_warning: Should be used for warning messages (use standard output)notus_log_critical: Should be used for critical messages (use standard error output)notus_log_error: Used for fatal error messages (used by mod_stop_notus::stop_notus routine)| [in] | message | Message to log |
| [in] | depth | Depth in the hierarchy of messages |
| [in] | type | Message type: normal, warning, critical or error (default: normal) |
| [in] | processor_rank | Processor that send the message (default: 0) |
| subroutine mod_notus_log::notus_log_double | ( | character(len=*), intent(in) | message, |
| double precision, intent(in) | double, | ||
| integer, intent(in) | depth, | ||
| integer, intent(in), optional | type, | ||
| integer, intent(in), optional | processor_rank ) |
Log message with a floating point number.
Output: <message><double>
All spaces from the float are trimmed out.
By default, the routine log the message to the standard or error output.
The log messages are classified by depth and type:
depth argument creates a hierarchy between messages. A message of depth n is related to a message of depth n-1.type argument defines the type of the message. There are 4 types of messages:notus_log_normal: Normal message (default)notus_log_highlight_information: Normal message but want to highlight for ease of reading standard output filenotus_log_warning: Should be used for warning messages (use standard output)notus_log_critical: Should be used for critical messages (use standard error output)notus_log_error: Used for fatal error messages (used by mod_stop_notus::stop_notus routine)| [in] | message | Message to log |
| [in] | double | Floating point number in double precision |
| [in] | depth | Depth in the hierarchy of messages |
| [in] | type | Message type: normal, warning, critical or error (default: normal) |
| [in] | processor_rank | Processor that send the message (default: 0) |
| subroutine mod_notus_log::notus_log_skip_line | ( | integer, intent(in), optional | type, |
| integer, intent(in), optional | processor_rank ) |
Skip a line in the log.
The log messages are classified by type:
type argument defines the type of the message. There are 4 types of messages:notus_log_normal: Normal message (default)notus_log_highlight_information: Normal message but want to highlight for ease of reading standard output filenotus_log_warning: Should be used for warning messages (use standard output)notus_log_critical: Should be used for critical messages (use standard error output)notus_log_error: Used for fatal error messages (used by mod_stop_notus::stop_notus routine)| [in] | type | Message type: normal, warning, critical or error (default: normal) |
| [in] | processor_rank | Processor that send the message (default: 0) |
| logical mod_notus_log::log_has_color = .true. |
Output color.
| integer, parameter mod_notus_log::notus_log_length = 132 |
Maximal length of a log message.
| integer, parameter mod_notus_log::notus_log_solver_status_length = 61 |
Maximal length of a solver log message.