log-level
command. The flags -enable and -disable can be used to add and remove a single log type. (The flags -add/-sub are deprecated aliases of -enable/-disable.)
The object argument can be used to apply the change just to a particular object. Please note that when object is specified the log type will be also recursively updated for all descendants of object, whose name matches object.bank[.*], object.port[.*] or object.impl[.*] pattern. The flag -r can be used to operate on all the descendants of the object object.
The log types are Info, Error, Critical, Spec_Violation and Unimplemented. The Info type is used for harmless info or debug messages. Error is used when an error prevents the simulation from running properly; this type does not have any log-level. Critical is used to signal serious errors that a model may not be able to resume from; the simulation is stopped. Spec_Violation is used when a target program runs a command that violates the device specification. And Unimplemented is used when a model does not implement a specific functionality, bit or register.
All types can be enabled by setting log-type to all. It is not possible to disable breaking on Critical.