I’m using hexLog and initializing it in
static function main()
I also have some singletons in my application. The annoying thing that happens is that the singletons are initialized before even the very first line in
static function main(), which is quite weird to me.
It also causes my hexLog to miss a number of logs. For some other weird reason I don’t get, it starts logging after a while.
I can debug the hexLog myself I think, but not until I understand this behavior.
I checked the manual for the singleton pattern and for static but don’t get anything meaningful out of that.
BTW my target is Flash for now (doing some early prototyping and didn’t bother to set up VS Code yet).