add_message#
- AedtLogger.add_message(message_type, message_text, level=None, proj_name=None, des_name=None)[source]#
Add a message to the message manager to specify the type and project or design level.
- Parameters:
- message_type
int
Type of the message. Options are: *
0
: Info *1
: Warning *2
: Error *3
: Debug- message_text
str
Text to display as the message.
- level
str
,optional
Level to add the message to. Options are
"Global"
,"Project"
, and"Design"
. The default isNone
, in which case the message gets added to the"Design"
level.- proj_name
str
,optional
Name of the project.
- des_name
str
,optional
Name of the design.
- message_type