Writing logs in cef format

Would it be possible to write out logs directly in CEF format?
If yes, how to do it?

Best would be to create a log writer. Alternately you might be able to do it with print statements but I’d really recommend doing the log writer instead.