Commit Graph

3516 Commits

Author SHA1 Message Date
gabime
15a9427112 wip 2019-12-21 18:08:42 +02:00
gabime
010b0e1d75 wip 2019-12-21 17:58:31 +02:00
gabime
cd5ddca00d wip 2019-12-21 17:55:30 +02:00
gabime
f18e1fccfd cfg.cpp 2019-12-21 17:49:34 +02:00
gabime
773b8c5a54 refectored file names 2019-12-21 17:47:02 +02:00
gabime
fc3d18ed64 format 2019-12-21 15:54:42 +02:00
gabime
68ed281461 Refactored to cfg::log_levels class 2019-12-21 15:54:09 +02:00
gabime
65ada37399 refactor and and support for init from argv 2019-12-21 13:29:03 +02:00
gabime
9f539d7028 Merge branch 'v1.x' into conf-env2 2019-12-21 11:58:13 +02:00
Gabi Melman
c73a5ff918
Merge pull request #1367 from mike239x/v1.x
Fix a small problem in the basic example
2019-12-20 12:42:57 +02:00
Mike Lezhnin
9858d4e918 Fix a small problem in the basic example
The line
```
SPDLOG_TRACE("Some trace message with param {}", {});
```
which normally is discarded at the compile time since by deafult
`SPDLOG_ACTIVE_LEVEL` is at `SPDLOG_LEVEL_INFO`. If however, one goes
to `tweak.me` and sets
```
 #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE
```
suddenly the basic example does not compile any more.
This commit fixes the potential problem.
2019-12-20 11:05:38 +01:00
gabime
0dfb1d264e removed include 2019-12-13 18:32:37 +02:00
gabime
a056b9115b clang-format 2019-12-13 18:26:36 +02:00
gabime
62ecc04212 Merge branch 'v1.x' into conf-env2 2019-12-13 18:25:24 +02:00
gabime
4a0f4fc186 keep clang-tidy happy 2019-12-13 17:55:39 +02:00
gabime
3a61dcd360 Aceept also 'warn' string in level::from_str() 2019-12-13 16:22:20 +02:00
gabime
04d0240f8d updated example 2019-12-13 16:17:09 +02:00
gabime
13ebfc0779 rename function 2019-12-13 16:00:55 +02:00
gabime
d70d5aa9d8 Merge branch 'conf-env2' of https://github.com/gabime/spdlog into conf-env2 2019-12-13 15:54:46 +02:00
gabime
70d3c2cd3e so::getenv - Always empty string under windows uwp since it's not supported 2019-12-13 15:50:27 +02:00
gabime
6fbe0dec2c Throw if trying to getenv under windows uwp 2019-12-13 15:35:37 +02:00
gabime
9d3591dcd5 refactor 2019-12-13 15:22:21 +02:00
gabime
8992f36fbf refactor env-inl 2019-12-13 15:14:42 +02:00
gabime
3d203aa7c4 Simplify and removed SPDLOG_PATTERN support 2019-12-13 14:49:41 +02:00
gabime
cd8d7e6de9 wip 2019-12-13 12:44:11 +02:00
gabime
5d4e6f17ee wip 2019-12-13 01:35:50 +02:00
gabime
49f707ec93 wip 2019-12-13 01:24:34 +02:00
gabime
6a305df46d wip 2019-12-13 01:17:29 +02:00
gabime
35e9482574 wip 2019-12-13 01:14:38 +02:00
gabime
dac61d4e9c merge 2019-12-13 00:14:33 +02:00
gabime
d52e825bbc clang-format 2019-12-13 00:12:05 +02:00
gabime
4fa463dff6 Merge branch 'v1.x' into conf-env2 2019-12-13 00:09:36 +02:00
gabime
ebaa16f403 CMakeLists.txt allow overriding the cpp standard to higher than 11 2019-12-12 23:52:22 +02:00
gabime
175741ed1d Bump fmt to 6.1.2 2019-12-12 23:50:30 +02:00
gabime
8d9d9899b7 wip 2019-12-12 20:00:18 +02:00
gabime
cff7448fb2 Merge branch 'v1.x' into conf-env2 2019-12-11 01:28:24 +02:00
gabime
0f8f510ebb removed junk file 2019-12-11 01:27:27 +02:00
gabime
3812c22f86 Merge remote-tracking branch 'origin/v1.x' into conf-env2 2019-12-11 01:25:19 +02:00
gabime
2b3000dddc wip 2019-12-11 01:24:51 +02:00
gabime
b278baf94e wip 2019-12-11 00:42:00 +02:00
gabime
4119b72d50 clang-format 2019-12-11 00:13:53 +02:00
gabime
da2c15ecb4 wip config from env 2019-12-11 00:13:27 +02:00
gabime
25a702fc22 Update fmt.h 2019-12-10 03:03:08 +02:00
gabime
ab178057db Fixed (maybe) #1348 2019-12-10 03:00:06 +02:00
gabime
c44cf5a720 Removed extra space 2019-12-10 02:42:28 +02:00
gabime
98ca01bf2d Fix issue #1347 2019-12-10 02:40:06 +02:00
gabime
d0ed873ab6 wip 2019-12-08 17:09:17 +02:00
gabime
0f24399887 wip 2019-12-08 17:08:20 +02:00
gabime
abbbda6f74 wip 2019-12-08 17:07:52 +02:00
gabime
1a5ee7ab83 Merge remote-tracking branch 'origin/v1.x' into conf-env2 2019-12-08 14:17:59 +02:00