mattiasflodin/reckless

Macros for adding __FILE__ and __FUNCTION__ to log

Opened this issue · 1 comments

Macros for adding __FILE__ and __FUNCTION__ to log

Hi Mattias,

Thanks for the great lib. I've been using it pretty extensively.

I'd like to be able to pass in FILE/LINE/FUNCTION/PRETTY_FUNCTION (basically a generic header field that takes in a const char* or int as it's arg). Could you give me some pointers on where to get started here? the header fields defined in policy log all have default ctors, which works for something like a timestamp field, but not for a functionname field.

Thanks