Walther / clovers

Ray Tracing in Rust
https://walther.github.io/clovers/clovers/
13 stars 1 forks source link

Also log to a file (because why not) #78

Closed hawkw closed 3 years ago

hawkw commented 3 years ago

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.

Signed-off-by: Eliza Weisman eliza@buoyant.io