Open notdodo opened 6 years ago
I need this too.
You can make a pr
for it.
https://github.com/AsynkronIT/protoactor-go/blob/dev/log/string_encoder.go#L23
I also need this,Logs cannot be integrated into my business. I suggest that can set a logger ,this logger has "debug,info,error..." interface
Hi!
Is it possibile to redirect the output of actor logging to stderr or to a file? Something like
log.SetOutput(iow)
.The problem: using a tui (i.e.: https://github.com/jroimartin/gocui) I cannot redirect or capture the output of the actor log.
EDIT: forgot to mention that I'd prefer a solution using the library instead of redirect the output to another file descriptor (i.e.
./run >& log.txt
)