Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
The DOLFIN log system provides the following set of functions for uniform handling of log messages, warnings and errors. In addition, macros are provided for debug messages and dolfin_assertions.
Only messages with a debug level higher than or equal to the current log level are printed (the default being zero). Logging may also be turned off by calling set_log_active(false). Print message
Print parameter (using output of str() method)
Print variable (using output of str() method)
Print message to stream
Print underlined message
Print warning
Print error message and throw an exception. Note to developers: this function should not be used internally in DOLFIN. Use the more informative dolfin_error instead.
Print error message. Prefer this to the above generic error message.
Developers should read the file dolfin/log/README in the DOLFIN source tree for further notes about the use of this function.
Issue deprecation warning for removed feature
Print message at given debug level
Begin task (increase indentation level)
Begin task (increase indentation level)
End task (decrease indentation level)
Turn logging on or off
Set log level
Set output stream
Get log level
Monitor memory usage. Call this function at the start of a program to continuously monitor the memory usage of the process.
Report that functionality has not (yet) been implemented to work in parallel