Commit Graph

3376 Commits (fe97a03033c8731ded971ca0a6c86cebd2b047b6)
 

Author SHA1 Message Date
gabime 640921cd3f Optimize win_eventlog to avoid string allocation 6 years ago
Gabi Melman fccee959b1
Merge pull request #1418 from ban-dana/v1.x
Add eventlog_sink for logging to Windows Event Log (local only)
6 years ago
bandana2004 67a8ecf2bf Remove registration and stderr reporting from win_eventlog_sink 6 years ago
bandana2004 d8701890b2 cleanup win_eventlog_sink 6 years ago
bandana2004 2435f46d06 fix registry key handle leak in win_eventlog_sink::add_registry_info 6 years ago
bandana2004 4bece787c8 Refactor Event Log sink 6 years ago
Gabi Melman d4ce938679
Merge pull request #1423 from dominicpoeschko/patch-1
Properly handling SPDLOG_PREVENT_CHILD_FD
6 years ago
dominic 033fe9f133 Properly handling SPDLOG_PREVENT_CHILD_FD
Removed check for posix version so that missing O_CLOEXEC leads to
compiler error.

Removed extra function since it hat no real purpose anymore.

Error behavior between Windows and Unix now equivalent.
6 years ago
dominicpoeschko 25b10dc264 additional log overload
calling log with a string_view as msg called
```
 template<typename... Args>
    void log(source_loc loc, level::level_enum lvl, string_view_t fmt, const Args &... args)
```

instead of
```
template<class T, typename std::enable_if<std::is_convertible<const T &, spdlog::string_view_t>::value, T>::type * = nullptr>
    void log(source_loc loc, level::level_enum lvl, const T &msg)
```

which lead to an unnecessary call to fmt::format
6 years ago
dominicpoeschko a9c3630d1b
Properly handling SPDLOG_PREVENT_CHILD_FD
Using the SPDLOG_PREVENT_CHILD_FD option there where still a race when
a other thread was using fork and exec in between the call to fopen and fcntl.

Using open and O_CLOEXEC when possible prevents this race.

I have no idea if this problem  exists on Windows.
6 years ago
Gabi Melman f3d99f41d4
Merge pull request #1422 from mr-c/post_installation_testing
Enable running the tests against an installed copy of spdlog
6 years ago
Gabi Melman fdb46b857f
Merge pull request #1407 from vitlav/fix-GNUInstallDirs-using
CMakeLists.txt: put GNUInstallDirs after set project language
6 years ago
Michael R. Crusoe 8d06df9775
Enable building & running the example against an installed copy of spdlog 6 years ago
Michael R. Crusoe a8d6e60ec6
Enable running the tests against an installed copy of spdlog 6 years ago
Gabi Melman 4e643fa42c
Merge pull request #1421 from tt4g/ctest-run-serial
Don't run spdlog-utests and spdlog-utests-ho in parallel
6 years ago
tt4g eb234bbf91 Don't run spdlog-utests and spdlog-utests-ho in parallel
spdlog-utests and spdlog-utests-ho use the same log output directory, so some tests will randomly fail when run in parallel.
6 years ago
bandana2004 db1a221427 Add eventlog_sink for logging to Windows Event Log (local only). 6 years ago
Gabi Melman 5378f35239
Merge pull request #1417 from BioDataAnalysis/bda_fix_trivial_issue_in_test_utils
tests/utils.h: removed duplicate entry for count_lines()
6 years ago
Mario Emmenlauer 622f5eb967 tests/utils.h: removed duplicate entry for count_lines() 6 years ago
Gabi Melman 966d827d35
Update LICENSE 6 years ago
Gabi Melman bed56d3e52
Update LICENSE 6 years ago
Gabi Melman 24173d5ebc
Update LICENSE 6 years ago
Gabi Melman 60853b5e54
Update LICENSE 6 years ago
Gabi Melman da2ff552c5
Update LICENSE 6 years ago
Gabi Melman 742df52236
Update license to add note about fmt lib dependecy 6 years ago
Vitaly Lipatov 1b4621962f CMakeLists.txt: put GNUInstallDirs after set project language 6 years ago
Gabi Melman 0a36828ff3
Merge pull request #1394 from ruoshui1314/v1.x
add max files for rotating days
6 years ago
weiy 85ea4297b9 update method name 6 years ago
weiy 34cc3419fa add max files for rotating days 6 years ago
weiy 46fcd2e844 add max files for rotating days 6 years ago
Gabi Melman 23f0cdf901
Merge pull request #1389 from XNephila/support-on-MacPorts
latest spdlog now available on MacPorts
6 years ago
X Nephila 26bdf66659
latest spdlog now available on MacPorts
I am the maintainer of spdlog on MacPorts, now the latest version(1.4.2) of spdlog is available on MacPorts.
6 years ago
Gabi Melman cf6f1dd01e
Merge pull request #1387 from gocarlos/patch-1
docs: spdlog now available in conan center, bincrafters repo is deprecated
6 years ago
Carlos Gomes Martinho 286eb59081
docs: spdlog now available in conan center 6 years ago
Gabi Melman 40bb28e9b6
Merge pull request #1378 from ldanko/v1.x
meson: add fallback to fmt dependency
6 years ago
Łukasz Dańko aac085a9be meson: add fallback to fmt dependency
Now `fmt` library can be used as subproject which helps with cross
compilation.
6 years ago
Gabi Melman 58e68901c7
Merge pull request #1370 from segfault-magnet/bugfix/invalid_meson_option
Fix invalid meson option
6 years ago
Ahmed Sagdati 8e69c6e492 Fix invalid meson option 6 years ago
gabime 4d98a14cb1 Updated fmt.cpp to 6.1.2 6 years ago
gabime 5bf99dfd61 Renamed loaders.cpp to cfg.cpp 6 years ago
gabime bc42415ceb Updated fmt.cpp to 6.1.2 6 years ago
gabime 284e6a80ac Fixed cfg tests 6 years ago
gabime 0243882238 Updated example 6 years ago
gabime 877eee408e renamed loaders with cfg 6 years ago
gabime 8dd54de326 Merge remote-tracking branch 'origin/v1.x' into conf-env3 6 years ago
Gabi Melman 09d729bfba
Update README.md 6 years ago
Gabi Melman 9caaca742e
Update README.md 6 years ago
Gabi Melman ac95c3ffbf
Update README.md 6 years ago
Gabi Melman 9715d80030
Update README.md 6 years ago
Gabi Melman a0a1e5c078
Update README.md 6 years ago