If the class argument is specified, the operation with be done only on objects of that class.
Objects in Simics can generate log messages on different log levels. These messages will be shown in the Simics command line window if the log level for the object has been set high enough.
The default level is 1, and this is the lowest level that objects can report messages on. Setting it to 0 will inhibit output of all messages except error messages.
Messages are also added to an access log that can be viewed by the log
command in Simics.
There are four log levels defined:
1 - important messages printed by default
2 - "high-level" informative messages
3 - standard debug messages
4 - detailed information, such as register accesses
The namespace version of this command, log-level
, sets the log level on all objects of the specified component. The -r flag recursively updates all sub-components and their objects.