set_log_level#

Mapdl.set_log_level(loglevel)#

Sets log level

Parameters:
loglevelstr, int

Log level. Must be one of: 'DEBUG', 'INFO', 'WARNING', 'ERROR'.

Return type:

None

Examples

Set the log level to debug

>>> mapdl.set_log_level('DEBUG')

Set the log level to info

>>> mapdl.set_log_level('INFO')

Set the log level to warning

>>> mapdl.set_log_level('WARNING')

Set the log level to error

>>> mapdl.set_log_level('ERROR')