I'm writing unit tests for Akka actors and want to verify log entries; e.g. test xyz wrote to the error category. (You know, let's say I send an actor a message via ! instead of ?.)
In the actor, I'll write to log for error or info or debug, etc. case depending on result of the message handled by "receive".
For akka 1.2 or 1.3, how should I go about this? Example: add a new listener to EventHandler? Other ideas?
Thanks in advance, Todd