hello I’m trying to make a better logging class
but i have come across a problem, and i think i need a macro to finish it off.
When ever I use the log class i want the writeflags function to be called but I want it to be invisible so I don’t have to write that function line out every time.
i hope that makes sense
LINE__) << "something" ;
what i want
log << "something" ;
what i'm using right now
#define __FLAGS writeflags(__FILE__,__LINE
log.__FLAGS << "something" ;