Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macros for adding __FILE__ and __FUNCTION__ to log #28

Open
mattiasflodin opened this issue Apr 19, 2020 · 1 comment
Open

Macros for adding __FILE__ and __FUNCTION__ to log #28

mattiasflodin opened this issue Apr 19, 2020 · 1 comment

Comments

@mattiasflodin
Copy link
Owner

No description provided.

@pastorom
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants