KhronosGroup / KhronosGroup/SPIRV-Tools

Add debug logging capabilities

Open
#1,351 1 comment 0 reactions 1 assignee Claimed by @dnovillo View on GitHub
component:optimization
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

There should be a way of dynamically enabling debug logging for transformation passes. Features:

- [ ] Multiple verbosity or logging levels (i.e., not dependent on NDEBUG).
- [ ] Ability to insert callbacks (need more details on this).
- [ ] Add a compile time MAX_LOG_LEVEL to avoid runtime checks if logging is to be turned off.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.