What does set_log_active do?

I’m brand new to FEniCS, and the documentation for the set_log_active consists of “Turn logging on or off”, which isn’t all that helpful for a complete beginner. Could someone offer a better description ?

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).

1 Like