How to add a logger (Serilog) to Runtime #1204
Answered
by
bmazzarol
davidyu2023
asked this question in
Q&A
-
I am venturing into functional Runtime and trying to add Serilog to it. I may need one or more log files. Can you advice how to bake the file paths into the Runtime? |
Beta Was this translation helpful? Give feedback.
Answered by
bmazzarol
Mar 12, 2023
Replies: 1 comment 3 replies
-
The recipe outlined in the wiki has 4 components,
I recommend looking through the existing traits exposed by Sys and reading the wiki again. Build something simple and iterate on it. IMHO serilog would be an implementation detail, the capability is logging, the backing library that does it can be anything. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
davidyu2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The recipe outlined in the wiki has 4 components,
I recommend looking through the existing traits exposed by Sys and reading the wiki again. Build something simple and iterate on it.
IMHO serilog would be an implementation detail, the capability is logging, the backing library that does it can be anything.