diff options
| author | Federico Angelilli <code@fedang.net> | 2024-03-21 01:49:08 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-03-21 01:49:08 +0100 |
| commit | 97253564c1f00f8ec24f5208a6888f7451e75a9b (patch) | |
| tree | 15f94428edd4aa3ea4d40d192fdffe8d5003d391 /test.c | |
| parent | 3d48d8d62349ba4b66dc4bc5c3582486baa872d6 (diff) | |
Add structured logging with log_value
Diffstat (limited to 'test.c')
| -rw-r--r-- | test.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -33,6 +33,16 @@ int main() log_trace("ANY_LOG_TRACE = %d = %d", ANY_LOG_TRACE, any_log_level_from_string(ANY_LOG_TRACE_STRING)); + // Test any_log_value + + log_value_warn("Hello", + "this is a", "string"); + + log_value_info("I'll try", + "d:this is ", 10, + "f:dbl", 20.3333, + "p:a", NULL); + // Test any_log_format log_trace("Hello"); |
