IN THIS ARTICLE
Recommended: For code tracing needs, use
AZ_* tracing macros.
Reason: Error handling and tracing functions provide useful messages formatted for readability about errors that occur. To facilitate debugging,
AZ_* tracing functions indicate where in code the errors occurred.
The following table describes the
AZ_Tracing macros and their uses.
|AZ Tracing Macro||Description|
|Use for critical errors when the program cannot continue. |
|Use when an obvious error has occurred but the program can continue safely. |
|Use when an error might have occurred. |
|Use for informational purposes only. Info messages indicate that a normal, expected or relevant event has happened. |
|Use for debugging informational purposes only. |
|(Deprecated) Use for informational purposes only. |
There are also versions of many of these macros that only get printed once, for example
AZ_ErrorOnce. For source code, see
You can use macros to suppress AZ trace messages.