Logging (structsolve.logger)#

Logging functions used by the solvers

structsolve.logger.error(msg, level=0, silent=False)#

Print an error message, starting with ERROR:

Parameters:
msgstr

The message.

levelint, optional

Indentation level, each level adds a tab.

silentbool, optional

If True the message is not printed.

Returns:
msgstr

The message.

structsolve.logger.msg(msg, level=0, silent=False)#

Print a log message

Parameters:
msgstr

The message.

levelint, optional

Indentation level, each level adds a tab.

silentbool, optional

If True the message is not printed.

Returns:
msgstr

The message.

structsolve.logger.warn(msg, level=0, silent=False)#

Print a warning message, starting with WARNING:

Parameters:
msgstr

The message.

levelint, optional

Indentation level, each level adds a tab.

silentbool, optional

If True the message is not printed.

Returns:
msgstr

The message.