Emil Ernerfeldt
Emil Ernerfeldt
I guess you'd want to add something in this piece of code to either check for glibc or for musl: https://github.com/emilk/loguru/blob/66f5895696c3adf43642fa032b0b5592858718c9/loguru.hpp#L1417:L1435 ideas welcome!
This should be easy to add to Loguru, but without access to VS2017 I don't think I should be the one making the PR. Any takers?
``` char buff[256]; loguru::write_data_time(buff, sizeof(buff)); const char* date_time_without_year = buff + 4; printf("%s", date_time_without_year); ``` ?
There is now `loguru::g_preamble_date` which allows you to hide the whole date: ``` C++ int main(int argc, char* argv[]) { loguru::g_preamble_date = false; loguru::init(argc, argv); } ``` is this good...
`LOG_SCOPE_S` is a feature which I haven't been needing and so haven't implemented.
Very weird. I don't have any access to Windows, so this is hard for me to debug. Anybody like to take a stab at it?
@allisonvacanti I appreciate your PR, but I absolutely want to avoid `#include`s in the Loguru header. Luckily there should be no need: all the fields can just be copied, removing...
Impressive improvements! However, this PR causes problems on my Mac: ``` loguru/external > cmake -P build_and_run.cmake ... /Users/emilk/kod/loguru/external/glog/src/utilities.cc:141:7: error: use of undeclared identifier 'IsFailureSignalHandlerInstalled' if (IsFailureSignalHandlerInstalled()) { ^ /Users/emilk/kod/loguru/external/glog/src/utilities.cc:254:17: warning:...
Has this PR been superseded by the merging of https://github.com/emilk/loguru/pull/28? Can I close this?
Sorry for the slow response to this. This is a rather clever solution, however I am considering maybe doing something more breaking instead. I already have a separate suffix for...