You can tweak this later, but I thought it was worth showing how to set
it up?
Note that these logfiles are potentially quite long, because they include
a line for each ray_color/ray_none event. You may want to make
logging configurable via CLI args (perhaps separately from timing). The
Layer impl for Option<T: Layer> in tracing-subscriber can be used
for this.
You can tweak this later, but I thought it was worth showing how to set it up?
Note that these logfiles are potentially quite long, because they include a line for each
ray_color
/ray_none
event. You may want to make logging configurable via CLI args (perhaps separately from timing). TheLayer
impl forOption<T: Layer>
intracing-subscriber
can be used for this.Signed-off-by: Eliza Weisman eliza@buoyant.io