-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support to skip the output of a window in the Trace system (#16969
) * Added support skip the output of a window in the Trace system A special "<no-window>" window constant as been added to the Trace system via the `AZ::Debug::Trace::NoWindow` constant which allows the output of a trace message to skip printing both the window name parameter and the adjoining ":" separator which is used to split the trace message from the window. Signed-off-by: lumberyard-employee-dm <[email protected]> * Updated the NoWindow constant to be an empty string. The Trace `Output`, `RawOutput` and `Printf` will not default to the NoWindow constant if a nullptr window value is supplied via a `const char*`. In addition Trace fnuction overloads which accept a `std::nullptr_t` type for the window parameter have been added to cause a compile error when `nullptr` has been explicitly passed for the window parameter. The window parameter is expected to be valid c-string value. Signed-off-by: lumberyard-employee-dm <[email protected]> * Removed unneccessary AZ_Warning that never could fail Furthermore the message associated with the warning about using `aznew` over regular C++ `new` has no additional benefits for memory tracking anymore. Signed-off-by: lumberyard-employee-dm <[email protected]> --------- Signed-off-by: lumberyard-employee-dm <[email protected]>
- Loading branch information
1 parent
31d43f5
commit 67763ca
Showing
11 changed files
with
81 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters