Commit Graph

307 Commits (9b3a4e28c5ab0c4f78c21b0b7178cced7f5b6e2c)

Author SHA1 Message Date
Charles Milette ebeb3707b1
Switch to vformat_to
4 years ago
espkk e6265c04ae Make file_event_handlers an aggregate
4 years ago
gabime c432fdd987 Bump fmt to version 8.1.1 and run clang-format
4 years ago
Dave Rigby 2a4c34b878 Allow forward-declaration of level_enum
4 years ago
Vladislav Nepogodin a087dee98a
🚧 fix building with c++11
4 years ago
Vladislav Nepogodin f096c615c3
🔥 conditional_cast
4 years ago
Gabi Melman b3560d1567
Merge pull request #2190 from sylveon/sylveon-patch-1
4 years ago
Charles Milette d5c000394d
Remove extraneous semicolon
4 years ago
LE GARREC Vincent 58e2b455fb
Fix build with "-fvisibility=hidden"
4 years ago
gabime dc030ec53c clang-format
4 years ago
gabime 2b4e07dd91 Fixed wchar support for std::format
4 years ago
Gabi Melman 24e47efae0
fix gcc 4.8 compile warning
4 years ago
Charles Milette 126a9fb261 Merge branch 'v1.x' of https://github.com/gabime/spdlog into std-format
4 years ago
Charles Milette ad779e4865 Attempt to solve ambiguous symbol on older MSVC
4 years ago
gabime 518bf36aa9 removed redundant intialization
4 years ago
gabime 5b7dfefc7e rename file_event_handlers_t to file_event_handlers
4 years ago
Charles Milette 0ded003703 Fix wchar_t overloads and dump_info formatter
4 years ago
Gabi Melman a3ad8b5f26
Merge pull request #2169 from seker/v1.x_file_event_handlers
4 years ago
seker 24a551c14e file_event_handlers add before_open function
4 years ago
Charles Milette 8e359baaec
Merge branch 'v1.x' into std-format
4 years ago
Dimitris Apostolou 591eedcf36
Fix typos
4 years ago
Charless Milette 89c4b1aabe Fix build issues under C++11
4 years ago
Charless Milette a31ae23db1 Fix build issue when using built-in fmt
4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib
4 years ago
seker c47ae3b15d add file event handlers
4 years ago
dkavolis e471ec884e remove conditional `is_convertible_*` structs for wide chars
4 years ago
dkavolis cb35191fc1 clang is acting weird with disabled constructors
4 years ago
Gabi Melman 14783585b6
Fix #2022
4 years ago
dkavolis d8f13cbd5b replace FormatString template argument with fmt::basic_format_string
4 years ago
gabime fe1a4f5fb6 Added SPDLOG_FMT_RUNTIME macro for compatibilty with fmt prior 8
4 years ago
gabime 4b3687f1a6 Removed unneeded macro definition
4 years ago
gabime 0f83b33d4f backward compatibility with fmt version < 8
4 years ago
gabime d75fd2c7f9 Fixed wchar support under msvc
4 years ago
gabime 68aed6a5eb Fixed building under c++17
4 years ago
Mikael Lund cd376a5c43 Allow compilation with nvc++
4 years ago
steven lunt ee22eed23d add macros for overriding the individual level names
4 years ago
steven lunt ab72de5f7a Revert "added spdlog::level::set_string_view to enable alternate log level names without changing the build via SPDLOG_LEVEL_NAMES"
4 years ago
gabime e9635c7b2d rethrnow non std exceptions to fix #533
5 years ago
steven lunt 2a16d1d230 added spdlog::level::set_string_view to enable alternate log level names without changing the build via SPDLOG_LEVEL_NAMES
5 years ago
gabime 44e1f9f682 Added nonreturn sepcifier to fix #1748
5 years ago
Gabi Melman 609480ed78
Merge pull request #1798 from gv-me/constexpr-log-levels
5 years ago
Gaurav Vaidya 53d223b45f add constexpr to SPDLOG_LEVEL_NAMES declaration
5 years ago
Charles Milette 9e19012cb0
Remove filename_memory_buf_t from headers
5 years ago
Charles Milette fc594b551a
Prevent win_eventlog_sink from silently discarding errors when wide support is enabled
5 years ago
Charles Milette a453bccff0
Better support for / separators on Windows, improve wchar filename coverage
5 years ago
gabime 231ca50700 clang-format
5 years ago
gabime 9cd25dd216 Remove un needed hasher declaration
5 years ago
gabime 15066d1d37 clang-format
6 years ago
Gabi Melman 2170de8819
Update common.h
6 years ago
Gabi Melman 300ec667f6
Update common.h
6 years ago
Gabi Melman 348c4380d6
Fix #1535
6 years ago
Gabi Melman 3b87eb3d08 Moved throw to dedicated function throw_spdlog_ex
6 years ago
gabime d1819f5f76 clang-format
6 years ago
Martin Vejdarski 0ca2cb625e Add shared library support for Windows
6 years ago
Dávid Bodor 6e763d2776 only include windows.h when it's unavoidable
6 years ago
gabime 695912c7cf Optimize ansicolor_sink to use array instead of map to find color codes
6 years ago
gabime 4f66313440 Fix #1308
6 years ago
Cristian Morales Vega 7cdd65075c "#include" <spdlog/.*> instead of "spdlog/.*"
6 years ago
gabime 188afe20f9 Fix issue #1249
6 years ago
Bak, Jin Hyeong f8e780b9dd Fix #1239, Remove basic_string_view_t
6 years ago
gabime 2fed68a73b Reverted some external template declarations
6 years ago
gabime 5496491aa4 Added extern template declarations
6 years ago
Gabi Melman 35835469d7
Update common.h
6 years ago
Gabi Melman 0d6992fcdd
Update common.h
6 years ago
gabime 1857a44c7c Fix #1215
6 years ago
gabime f5492aed12 Unified usage of fmt::memory_buffer across the codebase
6 years ago
gabime 0335e3fcc0 Print error and abort instead of throw if SPDLOG_NO_EXEPTIONS is defined
6 years ago
gabime b0a25f0183 wip - no-exceptions support
6 years ago
Charles Milette eb51f37c67
Fix ambiguous overload errors
6 years ago
gabime 39910f5137 Fixed execption include
6 years ago
gabime fd53472238 Cleaned common.h
6 years ago
Matthias Moulin be33f5eb89
Added wstring_view_t
6 years ago
Charles Milette 3bcd3cef2f
Fix deprecation warnings in filename_to_str
6 years ago
gabime 78c833a09f clang-format
6 years ago
gabime 99e519cf0f Simplify color sinks
6 years ago
gabime c09dee7717 Moved source filename shortening to pattern formatter instead of macro
6 years ago
gabime bcfa9241b8 Updated copyright headers
6 years ago
gabime eea9d6136f Moved default sync factory to seperate file to avoid cyclic includes
6 years ago
gabime 7a3a560c44 Merge v1.x
6 years ago
David Zemon 8dd85285e7 Allow user to choose between static or shared library
6 years ago
gabime 8b244ca988 Moved format.cpp into spdlog.cpp - this way only one src file is needed
7 years ago
gabime bb3dc87953 Fixed include order and example
7 years ago
gabime 6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro
7 years ago
gabime 540f865355 Normalized copyright message
7 years ago
gabime 46ef71e3ec Normalized copyright message
7 years ago
Philip Salzmann 5e856c6b4d Add mode enum to control output of color sinks
7 years ago
gabime 1ac6c9f9c2 clang-format static-lib
7 years ago
gabime 69fcaf14e5 wip static-lib
7 years ago
gabime 2de924a187 clang-format
7 years ago
gabime c1c2ff2d07 wip
7 years ago
gabime 215b6aea95 file_helper.cpp and filename_t fix
7 years ago
gabime 96b7214ae2 fix common.h
7 years ago
gabime 97f9cc4bc0 some cleanup
7 years ago
gabime 7ab6fd9db6 source_loc change line to int
7 years ago
gabime d12a858897 some cleanup
7 years ago
gabime 17f9cdd401 static lib wip
7 years ago
gabime e2e3df9013 static lib wip
7 years ago
gabime 6b0bf33f8e clang-format
7 years ago
Mattias Fornander 0ccbdcdd1f Add tweak support for user short level names
7 years ago
charles-david 20a0f82701 Renamed input parameters to "params_in".
7 years ago