Re: LogP6 not working as I expect

2019-05-10 Thread Patrick Spek via perl6-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Aha! That works for me! I don't particularly need it to be a constant, I just used constants before to make sigil-less variables. I generally don't use `my \foo` because I don't like how instantiation and use differ (one uses the `\` sigil, which

Re: LogP6 not working as I expect

2019-05-10 Thread Timo Paulssen
Hi Patrick, It could be that compile time is too early for the logger object to properly be set up; try to see if "my \Log" instead of "constant Log" fixes it, then we can perhaps find a better solution that still has "constant" (for example a feature request for LogP6) Kind Regards   - Timo

LogP6 not working as I expect

2019-05-10 Thread Patrick Spek via perl6-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all, I'm trying to use LogP6 in one of my projects, but it's not working the way I was expecting it to work. Presumably I'm overlooking something simple, but I can't seem to figure out what or why. I have the following code: use