Mehdi Amini
9c82f87aec
Introduce a "log level" support for DEBUG_TYPE ( #150855 )
...
This allows to set an optional integer level for a given debug type. The
string format is `type[:level]`, and the integer is interpreted as such:
- if not provided: all debugging for this debug type is enabled.
- if >0: all debug that is < to the level is enabled.
- if 0: same as for >0 but also does not disable the other debug-types,
it acts as a negative filter.
The LDBG() macro is updated to accept an optional log level to
illustrate the feature. Here is the expected behavior:
LDBG() << "A"; // Identical to LDBG(1) << "A";
LDBG(2) << "B";
With `--debug-only=some_type`: we'll see A and B in the output.
With `--debug-only=some_type:1`: we'll see A but not B in the output.
With `--debug-only=some_type:2`: we'll see A and B in the output. (same
with any level above 2)
With `--debug-only=some_type:0`: we'll see neither A nor B in the
output, but we'll see any other logging for other debug types.
2025-07-28 18:10:36 +02:00
..
2025-07-18 00:16:08 +03:00
2025-07-15 22:42:27 +04:00
2025-07-09 14:53:15 -07:00
2025-07-02 12:01:17 +01:00
2025-07-24 10:38:36 +01:00
2025-03-10 09:48:40 +00:00
2025-05-21 13:19:09 -07:00
2025-05-21 13:19:09 -07:00
2025-05-22 21:52:59 +01:00
2024-08-02 18:37:05 +02:00
2025-01-28 09:53:45 +00:00
2025-06-13 07:00:36 -04:00
2025-05-14 09:35:19 -07:00
2023-10-08 00:11:15 -07:00
2023-11-02 21:41:00 -07:00
2023-10-09 00:54:47 -07:00
2024-02-27 14:13:00 -05:00
2023-11-03 18:19:33 +00:00
2025-04-22 09:45:15 +01:00
2025-05-12 12:13:52 -07:00
2025-07-19 15:00:21 +03:00
2024-06-10 11:28:44 -07:00
2025-07-24 11:03:58 -07:00
2024-11-25 08:59:17 +08:00
2025-05-15 18:16:05 +02:00
2025-06-04 12:30:52 -07:00
2025-03-10 09:48:40 +00:00
2025-05-24 14:47:56 -07:00
2025-07-08 08:47:04 +02:00
2025-07-28 18:10:36 +02:00
2025-06-06 10:54:07 -07:00
2024-02-13 14:34:58 +00:00
2024-08-18 09:46:51 -07:00
2024-07-07 22:32:14 -07:00
2025-05-14 13:48:45 -07:00
2025-06-09 22:19:37 +03:00
2023-11-03 18:19:33 +00:00
2025-03-10 09:48:40 +00:00
2025-06-04 12:30:52 -07:00
2025-01-15 09:53:21 -08:00
2025-05-05 12:10:03 +02:00
2025-07-09 11:19:21 -07:00
2024-02-13 18:35:39 -08:00
2024-09-20 08:18:16 -04:00
2025-05-16 06:40:45 -07:00
2023-09-14 19:46:53 +03:00
2025-05-07 17:37:38 -07:00
2024-12-02 14:31:24 +01:00
2024-10-16 15:53:52 -07:00
2023-09-12 16:51:58 -07:00
2025-04-26 18:18:09 -07:00
2025-03-10 09:48:40 +00:00
2024-03-19 16:22:30 -05:00
2025-06-11 15:26:49 -04:00
2025-07-08 12:47:23 -07:00
2025-05-14 13:48:45 -07:00
2025-03-28 18:10:02 +01:00
2025-06-04 12:30:52 -07:00
2025-03-21 05:26:04 +03:00
2025-01-27 09:04:43 -08:00
2025-06-11 15:26:49 -04:00
2025-02-13 12:13:39 +01:00
2024-11-20 06:51:43 -08:00
2025-06-04 09:46:14 -07:00
2024-11-20 06:51:43 -08:00
2024-09-23 21:17:04 -07:00
2024-09-20 21:15:42 -07:00
2025-04-26 18:18:09 -07:00
2024-02-12 14:52:08 -08:00
2025-05-21 13:19:09 -07:00
2024-11-20 06:51:43 -08:00
2025-04-28 22:25:17 -07:00
2025-04-30 19:14:15 -07:00
2024-06-21 15:45:17 +02:00
2025-06-11 15:26:49 -04:00
2025-07-16 16:48:59 +01:00
2025-05-21 13:19:09 -07:00
2023-12-01 11:28:42 -08:00
2024-08-18 09:46:51 -07:00
2024-08-18 09:46:51 -07:00
2025-03-10 09:48:40 +00:00
2024-07-02 08:23:03 -07:00
2024-05-07 21:18:28 -07:00
2024-11-20 15:00:11 +00:00
2025-05-21 13:19:09 -07:00
2023-09-23 13:17:46 -07:00
2023-09-23 13:17:46 -07:00
2025-07-03 12:02:26 -07:00
2025-07-09 16:07:16 -07:00
2025-05-14 13:48:45 -07:00
2024-11-30 10:21:10 +01:00
2024-09-05 15:47:28 -07:00
2024-08-04 08:54:23 -07:00
2025-07-25 13:24:00 -04:00
2023-10-06 16:33:13 -05:00
2025-07-19 09:15:48 +09:00
2025-07-10 13:08:19 -07:00
2025-04-21 08:13:16 -07:00
2024-11-20 06:51:43 -08:00
2025-07-02 13:45:52 -04:00
2024-11-20 06:51:43 -08:00
2025-05-20 14:34:16 -07:00
2024-10-23 10:44:09 -07:00
2025-06-04 12:30:52 -07:00
2024-04-09 13:31:11 +08:00
2025-05-18 07:34:20 -07:00
2024-06-21 15:45:17 +02:00
2024-01-17 22:55:58 +01:00
2024-01-17 22:55:58 +01:00
2024-01-17 22:55:58 +01:00
2024-01-17 22:55:58 +01:00
2025-05-09 16:56:18 -07:00
2025-01-19 10:58:49 -08:00
2024-07-22 19:06:43 +02:00
2025-05-21 13:19:09 -07:00
2025-03-27 02:16:27 +08:00
2025-07-03 09:08:00 -05:00