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

Crash when use macro ELPP_THREAD_SAFE #312

Closed
parikshitnangre opened this issue Aug 25, 2015 · 1 comment
Closed

Crash when use macro ELPP_THREAD_SAFE #312

parikshitnangre opened this issue Aug 25, 2015 · 1 comment

Comments

@parikshitnangre
Copy link

i have this little code -

define ELPP_THREAD_SAFE

include "easylogging++.h"

INITIALIZE_EASYLOGGINGPP
void main()
{
el::Logger* mainLogger = el::Loggers::getLogger("main");
mainLogger->warn("abc");
}

why it is crashing ?
I also tried using the macro mentioned as compiler option but it also didn't work

@abumq
Copy link
Owner

abumq commented Aug 25, 2015

Duplicate #310

Please update existing ticket

@abumq abumq closed this as completed Aug 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants