Commit Graph

3242 Commits

Author SHA1 Message Date
Gabi Melman
40bb28e9b6
Merge pull request #1378 from ldanko/v1.x
meson: add fallback to fmt dependency
2020-01-02 04:10:50 +02:00
Łukasz Dańko
aac085a9be meson: add fallback to fmt dependency
Now `fmt` library can be used as subproject which helps with cross
compilation.
2020-01-01 23:59:32 +01:00
Gabi Melman
58e68901c7
Merge pull request #1370 from segfault-magnet/bugfix/invalid_meson_option
Fix invalid meson option
2019-12-23 17:44:31 +02:00
Ahmed Sagdati
8e69c6e492 Fix invalid meson option 2019-12-23 15:57:16 +01:00
gabime
4d98a14cb1 Updated fmt.cpp to 6.1.2 2019-12-22 22:54:31 +02:00
gabime
5bf99dfd61 Renamed loaders.cpp to cfg.cpp 2019-12-22 22:51:52 +02:00
gabime
bc42415ceb Updated fmt.cpp to 6.1.2 2019-12-22 22:51:12 +02:00
gabime
284e6a80ac Fixed cfg tests 2019-12-22 22:33:19 +02:00
gabime
0243882238 Updated example 2019-12-22 20:58:16 +02:00
gabime
877eee408e renamed loaders with cfg 2019-12-22 20:40:19 +02:00
gabime
8dd54de326 Merge remote-tracking branch 'origin/v1.x' into conf-env3 2019-12-22 20:29:31 +02:00
Gabi Melman
09d729bfba
Update README.md 2019-12-22 19:46:56 +02:00
Gabi Melman
9caaca742e
Update README.md 2019-12-22 19:42:08 +02:00
Gabi Melman
ac95c3ffbf
Update README.md 2019-12-22 19:40:50 +02:00
Gabi Melman
9715d80030
Update README.md 2019-12-22 19:39:52 +02:00
Gabi Melman
a0a1e5c078
Update README.md 2019-12-22 19:37:42 +02:00
Gabi Melman
d7ba1fdd3d
Update README.md 2019-12-22 19:36:58 +02:00
Gabi Melman
2544fca519
Update test_loaders.cpp 2019-12-22 08:58:36 +02:00
Gabi Melman
0b55e2c332
Update test_loaders.cpp 2019-12-22 00:17:32 +02:00
gabime
b105046202 Fixed loaders tests 2019-12-21 20:15:18 +02:00
gabime
de20255c71 wip 2019-12-21 20:01:25 +02:00
gabime
1a1c37db7c wip 2019-12-21 19:59:23 +02:00
gabime
a87700a28c wip 2019-12-21 19:52:37 +02:00
gabime
1f8e9ad0fc renamed cfg namespace to loaders 2019-12-21 19:45:14 +02:00
gabime
e13e978af4 added loaders tests 2019-12-21 19:25:54 +02:00
gabime
28e334c728 Fixed tests 2019-12-21 18:52:35 +02:00
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