Skip to content

Conversation

@dabrain34
Copy link
Contributor

Add a logger with level from ERROR to DEBUG

@dabrain34 dabrain34 force-pushed the dab_add_logger branch 2 times, most recently from 2f22d6e to ce80c97 Compare November 26, 2024 16:41
Fix "error: enumerated and non-enumerated type in conditional
expression" warning
Fix "error: enumerated and non-enumerated type in conditional
expression" warning
zlatinski and others added 3 commits December 11, 2024 09:09
ci: update build script for both linux and win
The ceil computation does not work as expected, and implicitly requires
a C++ stanadard library exposing C++23 features
@dabrain34
Copy link
Contributor Author

@zlatinski is there any issue with this PR ?

The idea here is to enable from the command line the log if necessary with --logLevel

There are 2 kinds of logs:

  • LOG_S_DEBUG acting as cout/cerr
  • LOG_DEBUG acting as printf.

Please consider this patch as it can be very useful and avoid the use of conditional such as:

if(verbose)
...

Add a logger with level from ERROR to DEBUG

Signed-off-by: Stéphane Cerveau <[email protected]>
@dabrain34
Copy link
Contributor Author

Closed and moved to KhronosGroup/Vulkan-Video-Samples#5

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.

3 participants