| ... | @@ -38,12 +38,6 @@ fn handler() void { | ... | @@ -38,12 +38,6 @@ fn handler() void { |
| 38 | } | 38 | } |
| 39 | ``` | 39 | ``` |
| 40 | | 40 | |
| 41 | `@src()` values are sometimes absolute paths so backends may use this value to trim it to only log relative paths | | |
| 42 | | | |
| 43 | ```zig | | |
| 44 | exe_options.addOption(usize, "src_file_trimlen", std.fs.path.dirname(std.fs.path.dirname(@src().file).?).?.len); | | |
| 45 | ``` | | |
| 46 | | | |
| 47 | ## Backends | 41 | ## Backends |
| 48 | | 42 | |
| 49 | - `none` this is the default and causes tracing calls to become a no-op so that `tracer` can be added to libraries transparently | 43 | - `none` this is the default and causes tracing calls to become a no-op so that `tracer` can be added to libraries transparently |