Commit | Line | Data |
---|---|---|
1 | // SPDX-FileCopyrightText: 2024 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
2 | // | |
3 | // SPDX-License-Identifier: MIT | |
4 | ||
5 | #include <side/trace.h> | |
6 | ||
7 | side_static_event(my_provider_event, "myprovider", "myevent", SIDE_LOGLEVEL_DEBUG, | |
8 | side_field_list(side_field_s32("myfield")) | |
9 | ); | |
10 | ||
11 | int main() | |
12 | { | |
13 | side_event(my_provider_event, side_arg_list(side_arg_s32(42))); | |
14 | return 0; | |
15 | } |