emilk / emilk/loguru

Scopes do not work properly on windows.

Open
#43 8 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.9k
Forks
280
Avg merge
7m
Merged PRs (30d)
4

Description

I use the example code on windows (minor tweaks to compile):
![image](https://user-images.githubusercontent.com/1354397/31980332-c8a2cf22-b919-11e7-8307-b40ecde8e2d6.png)

And here is what outputs:
![image](https://user-images.githubusercontent.com/1354397/31980377-14deeace-b91a-11e7-9014-b302c7fd9f32.png)

It appears that the LOG_SCOPE_F macro immediately closes the scope while on windows.

Please note that I am using VS2017 to build.

Edit:
It also appears that any scope immediately closes in this build.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.