Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API logging to validation layer #270

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

igchor
Copy link
Member

@igchor igchor commented Feb 3, 2025

No description provided.

through validation layer.

This will enable us to remove logging L0 calls from UR and make
sure that all L0 calls are being logged (e.g. ones from UMF).

Signed-off-by: Igor Chorazewicz <igor.chorazewicz@intel.com>
Signed-off-by: Igor Chorazewicz <igor.chorazewicz@intel.com>
with a single variable. Use getenv_to_map to implement env
var parsing.

Signed-off-by: Igor Chorazewicz <igor.chorazewicz@intel.com>
@@ -15,6 +15,53 @@ namespace validation_layer
{
context_t& context = context_t::getInstance();

void context_t::initLogger() try {
std::string loggingLevel = "error";
std::string loggingFormat = "ZE ---> %v";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use the same default format as ze loader here? ([date] [logger_name] [level] message...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant