I'm using Log::Message::Simple and error()s appear immediately. However, calls to debug() and msg() do nothing -- I have to call Log::Message::Simple->stack_as_string()
to get these. How can I get this logging to appear immediately?
views:
116answers:
2
A:
For the stack_as_string, I thought you had to enable the flag.
Log::Message::Simple->stack_as_string(1);
HTH
Rob Wells
2009-08-05 09:18:24
+1
A:
I'm not sure that this is the best solution, but I've fixed this by specifying the optional 'verbose' parameter to msg() and debug(), for example
msg("my message", 1);
hertzsprung
2009-08-05 13:51:27