Commit Graph

966 Commits (a358a38b841b6ad9726b2cceaea12b696bbf035d)

Author SHA1 Message Date
gabime 3218caf34a Added some comments
7 years ago
gabime dc13700094 Fixed source location and make SPDLOG_TRACE: that only one that inject source location info.
7 years ago
Gabi Melman 1293af093c
call flush_() instead of flush() from looger::sink_it_()
7 years ago
gabime 521b0733d4 Support for source location in async loggers
7 years ago
gabime a31719b546 clang-format
7 years ago
gabime f2305fe5bf Support for source file/line logging
7 years ago
gabime 50648553cf clang-format
7 years ago
gabime 70d03fd9c3 Minor optimization
7 years ago
gabime fb1a3a3a12 Micro optimized some formatter flags
7 years ago
Daniel Chabrowski e751461ff1 Fix template error
7 years ago
Daniel Chabrowski 6232ec78f7 Change count_digits to depend on template param, not size_t
7 years ago
Daniel Chabrowski f09d0f2301 Add helper for count_digits
7 years ago
Daniel Chabrowski 14a071c478 Fix osx build
7 years ago
gabime 7068c45115 Fixed issue #908
7 years ago
gabime 552416bda4 fmt_helper cleanup
7 years ago
gabime 8a0fc92f20 Replaced SPDLOG_DISABLE_TID_CACHING with SPDLOG_NO_TLS
7 years ago
gabime 4a34cd0662 Optimized nano seconds formatting
7 years ago
gabime 314991ac60 Fixed pattern formatter constructor bug
7 years ago
gabime c5069135d7 Improved compile time level support
7 years ago
gabime 34c60e5486 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
7 years ago
gabime 526f21ae7f Fixed #902
7 years ago
gabime 0e77c3391b New compile time API using SPDLOG_ACTIVE_LEVEL
7 years ago
Gabi Melman f1e79bde2e
Update pattern_formatter.h
7 years ago
gabime 7b6849578b Fixed some clang-tidy warnings
7 years ago
gabime 6fedffe6d6 Moved the SPDLOG_CATCH_AND_HANDLE to logger_impl.h
7 years ago
gabime d54e302a28 clang-format
7 years ago
gabime d99179f822 Small refactoring to registry class
7 years ago
gabime 65cff673b8 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
7 years ago
gabime dc166cad92 Added default pattern support for pattern_formatter to avoid parsing pattern when using default pattern
7 years ago
gabime ba4ed0eb7f micro optimize scoped_padder
7 years ago
gabime 3cdf2b7f04 micro optimize scoped_padder
7 years ago
Pablo Arias a446f187c1 Fixed deadlock by recursive mutex
7 years ago
gabime 3ff541cf77 Optimized scoped_pad
7 years ago
Pablo Arias 10895796b2 Added mutexes to protect logger initialization and toggling automatic registration
7 years ago
Pablo Arias fbc58ebef8 * using API call instead of macro for toggling automatic registration
7 years ago
gabime 5c54414be7 Padding support in pattern formatter
7 years ago
Pablo Arias f95b189fe3 Added a global option in tweakme.h that disabled global registration of
7 years ago
Gabi Melman 1aace95c8d
Update periodic_worker.h
7 years ago
rwen2012 794a636dd3 change the log_msg&& to log_msg&
7 years ago
gabime e35414a0f1 Removed redundant casts to string_view
7 years ago
gabime 0d0706a204 Small fix to pattern formatter
7 years ago
gabime 1b04c222cf Fixed issue #888
7 years ago
Jerome Meyer 1b391ccd06 Cleanup header file: remove log_msg.h include from fmt_helper.h
7 years ago
gabime 240a58fd6e Fixed issue #881
7 years ago
gabime 99e23b41eb use static_cast<string_view> instead of ctor in logger impl
7 years ago
gabime 392d126372 Renamed string_view_type -> string_view_t
7 years ago
gabime 871cca2401 Fixed pattern formatter
7 years ago
gabime 1bdd556d3b code formatting
7 years ago
gabime 9daad800a8 Fix mingw compilation
7 years ago
gabime 8d2c956563 Optimize log(const T&) if can be statically converted to string_view
7 years ago
gabime 894438d5fb Better support for string_view
7 years ago
Gabi Melman 2ad191aeba
Update log_msg.h
7 years ago
gabime 4e3e80109a Code formatting
7 years ago
gabime 70bef682b0 Fixed clang-tidy warning about implicit conversion to string_view
7 years ago
gabime c2a9bf9974 Small refactoring and support wchar again
7 years ago
gabime a5a39c52b0 Added nullptr check to append_string_view
7 years ago
gabime 6355e9895d Major change to log_msg - contain only string_view instead of buffer
7 years ago
gabime abf4af2645 Merge branch 'sized_buf' of https://github.com/peergynt/spdlog into peergynt-sized_buf
7 years ago
Jerome Meyer cb71fea0f6 Use fmt::string_view when logging a C string to avoid unnecessary copy
7 years ago
gabime 3e2d593dde always initialize level and thread_id in log_msg
7 years ago
gabime b1277caeeb Typo
7 years ago
gabime c465250c21 Fixed clang-tidy warning (added move)
7 years ago
gabime 815b52b8fb Fixed implicit conversion to str in c_formatter
7 years ago
gabime 275167d1b0 Micro optimize eol in formatter
7 years ago
gabime f2f9f324ec Updated default API impl and tests
7 years ago
gabime 8131d3e127 Added SPDLOG_DISABLE_DEFAULT_LOGGER option to tweakme.h
7 years ago
gabime 312fe4775d Added SPDLOG_DISABLE_DEFAULT_LOGGER option to tweakme.h
7 years ago
gabime b368d18b0f Added default logger API
7 years ago
gabime f4c5c5a367 Replaced noexcept with SPDLOG_NOEXCEPT
7 years ago
gabime d0beac70bd Removed dead code from os.h
7 years ago
gabime cbf66ac653 Removed dead code from os.h
7 years ago
gabime 98f9cb8c1f Added noexcept to most of details::os functions
7 years ago
gabime 1b8bf35acc Micro optimize: don't init log_msg.msg_id on construction. It will be set anyway later
7 years ago
gabime 1f4cae4bf7 Changed forward<log_msg> to std::move(log_msg) in thread pool
7 years ago
gabime 3b009f5aa6 Changed forward<worker_ptr> to std::move in async logger
7 years ago
gabime 36112371c0 Reverted const qualifier to log_msg& args, fixed issue #849, and added counter tests
7 years ago
gabime 2fa538779f Fixed static_assert
7 years ago
gabime b7a6659451 code formatting
7 years ago
gabime 102c31a04c Accecpt iterators by value in logger ctor insted of ref
7 years ago
gabime 10000c383a Better error message if WideCharToMultiByte fails
7 years ago
gabime 8b42b7d269 Fix support for wchar to utf8 under windows (fix issue #851 and #764)
7 years ago
Gabi Melman c5011181bb
Update log_msg.h
7 years ago
gabime 0876e39c4f pad3 small optimization
7 years ago
gabime 0b516733db user buffer.clear() insread of resize(0)
7 years ago
gabime 18df6138a7 clang-format
7 years ago
gabime 4720b703f4 Fixed clang-tidy warnings
7 years ago
gabime a06d32ae19 Fixed clang-tidy warnings
7 years ago
gabime 8e80081f99 Fixed clang-tidy warning
7 years ago
gabime 14c0417f3e Fixed clang-tidy warning
7 years ago
gabime 0879dea444 Fixed clang-tidy warning
7 years ago
gabime e8dae26176 Moved spdlog::make_unique to spdlog::details::make_unique and prevent T to be array
7 years ago
gabime e3a66473b2 Small cleanup in set_formatter
7 years ago
gabime 65defd3806 Replaced SPDLOG_FINAL macro with final
7 years ago
Gabi Melman 37cd707294
Fix issue #819
7 years ago
gabime 3698c1d2f1 added spdlog namespace when calling make_unique
7 years ago
Gabi Melman 00acb8ba41
Update registry.h
7 years ago
Gabi Melman a6ee1cf590
fix vc compliation error about make_unique
7 years ago
gabime ebce97947d use make_unique
7 years ago
gabime f4bbe8b2b3 Fixed some extra warnings from clang
7 years ago
Maciej Gajewski c4de214cea Pessimizing move removed
7 years ago
gabime 5d7845c138 Added "clone()" support to loggers
7 years ago
gabime 91d8869f36 Added "clone()" support to loggers
7 years ago
Gabi Melman 1f8b2cbb8b
Update file_helper.h
7 years ago
Gabi Melman d0cfca0820
Update file_helper.h
7 years ago
Gabi Melman f6049cd333
Update file_helper.h
7 years ago
eruiz 39492436ec WIN32: Don't deny access to file sinks from other processes
7 years ago
Daniel Chabrowski 2990126054 Change console_globals include to windows.h only
7 years ago
Daniel Chabrowski 3edc7f1d18 Add missing include in console_globals.h
7 years ago
gabime d3c1ad29a0 Optimize logging for const char* messages
7 years ago
Gabi Melman 176cab4fee
Update file_helper.h
7 years ago
Gabi Melman 28435dc736
Normalized spdlog includes in file_helper
7 years ago
gabime a58d7594cb Fixed issue #798 and added -Wconversion compiler flag to build
7 years ago
gabime 750b520f41 Fix broken build
7 years ago
Luiz Siqueira 4eb80dd8d2 acquire lock before reading overrun_counter
7 years ago
Luiz Siqueira c543985cf4 use size_t instead of int for overrun counter
7 years ago
Luiz Siqueira 863f704f47 increment counter every time we overrid a message in async mode.
7 years ago
gabime 566df7e826 Added missing include to q
7 years ago
gabime 607779cccf micro optimization in log_msg constructor
7 years ago
gabime da2af6ea2e Fixed some clang-tidy warning
7 years ago
gabime 05d6960ebc code formatting and clang tidy warnings fixes
7 years ago
gabime 8008d7fe53 Replace emplace_back with push_back in pattern_formatter
7 years ago
Gabi Melman 85a2bf1c17
Merge pull request #784 from baishuai/v1.x
7 years ago
baishuai a2fa7a833c add new line at end of file, fix compiler warnings
7 years ago
gabime af6b3fe599 delay the release mutex in the async queue only for mingw
7 years ago
gabime 8bfec30d48 Fix deadlock issue with mingw in async logger
7 years ago
gabime fd54719351 clang-format
7 years ago
gabime 420b17ae65 Fix issue #769
7 years ago
gabime 05b68b8581 Fixed example and inline
7 years ago
gabime de6ddf4e2a Some code refactoring in formatter
7 years ago
gabime a12a21a18e Improved millis formatting
7 years ago
gabime 53cd47e19f Remove un needed declaration from thread_pool
7 years ago
gabime ce5c1c24cf added explicit kw to ctor
7 years ago
gabime 2894e8de5e clang format
7 years ago
gabime cb9c984aa7 registery and periodic flusher fixes.
7 years ago
Gabi Melman 516a8e4212
Update periodic_worker.h
7 years ago
Gabi Melman 40aeaaee54
Update periodic_worker.h
7 years ago
gabime 33329c80a9 code formatting
7 years ago
gabime fe73255452 Fixed issue #759
7 years ago
gabime 9d497d5afd Fix issue #765
7 years ago
gabime 693103af9c support set_formatter in spdlog.h
7 years ago
gabime 7184c42376 Changed some static string array to char* arrays
7 years ago
Gabi Melman 349829fa96
Update periodic_worker.h
7 years ago
Gabi Melman 3684228cd5
Update periodic_worker.h
7 years ago
gabime 9e4925eff0 clang format
7 years ago
gabime a96b4d7529 Added periodic flusher support, and fixed some registry issues
7 years ago
gabime d5af87a8e1 Added periodic flusher support, and fixed some registry issues
7 years ago
gabime b0059b290f Fix issue #761
7 years ago
gabime ddb3002bc1 Added non const sinks() function to support addition/removal of sinks from existing logger
7 years ago
gabime b710e0fe86 Changed some functions to accept strings instead of ref to strings for better semantics
7 years ago
gabime 9df2bd256e Changed some functions to accept strings instead of ref to strings for better semantics
7 years ago
gabime c2a49080aa Refactored sink interface and base_sink
7 years ago
gabime 16ee72da7c clang format
7 years ago
gabime d409e5367b Revert d5468e50f6
7 years ago
gabime d5468e50f6 Small optimization in thread pool
7 years ago
gabime ef111ddba2 Fix issue #736
7 years ago
gabime 81f29a9a7a Fixed wchar support in messages
7 years ago
gabime 4a59ea3b1e Fixedconversion warning in 32 bits
7 years ago
gabime f9019870da Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
7 years ago
gabime a776a774e1 cache millis in full_formatter
7 years ago
gabime c887907d4a faster reset of cached buffer
7 years ago
gabime b4dcd592d8 faster reset of cached buffer
7 years ago
gabime 21524c16fa faster reset of cached buffer
7 years ago
gabime 81f3cc5575 clang format
7 years ago
gabime 5bfeb672f7 updated slot size in async queue
7 years ago
gabime 887326e715 minor code cleanup
7 years ago
gabime 45da6c9c33 spelling
7 years ago
gabime 7ed8e1b59d renamed async block policy
7 years ago
gabime 4f1ce9189f Fixed issue #747
7 years ago
gabime 775e410b00 Fixed issue #747
7 years ago
gabime c9331594bb Renamed file to pattern_forammter.h and fixed utc support
7 years ago
gabime cbc4db8649 Renamed filename and other small formatter changes
7 years ago
gabime 9dc44c39e7 Fixed bugs in stdout_sinks and in msvc
7 years ago
gabime bde4c7149f Renamed traits to console globals
7 years ago
gabime 39c6eb752a Code formatting
7 years ago
gabime 005468248b Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
7 years ago
gabime ecd7669e42 Fixed gcc warning
7 years ago
gabime 3643db6821 Fixed msvc conversion warning
7 years ago
gabime 59f54cda10 Fixed msvc conversion warnings
7 years ago
gabime 95de24e4f6 fixed tests and renamed to_short_str
7 years ago
gabime 1d9e2304be renamed level::to_str() to level::to_c_str()
7 years ago
gabime 1f801828a5 pad6 thread id and micros in formatter
7 years ago
gabime 94a7152afc async queue - overrun oldsest policy option
7 years ago
gabime 0358d115e0 removed std::string from async messages
7 years ago
gabime b4349e4226 pre allocate async q memory
7 years ago
gabime 91264ea2f0 small improvment to formatter
7 years ago
gabime e66ee8b710 fix gcc and clang warnings
7 years ago
gabime a6e2f23780 Pattern formatter optimizations
7 years ago
gabime 1d9ec2373a Better support for 32bits
7 years ago
gabime 0c19bdd772 pattern per sink and pattern caching
7 years ago
gabime 9d7a5c253a Moved fmt helpers to new file
7 years ago
gabime ac6a2a4c0f -mpattern_formatter small change in pad3
7 years ago
gabime 2989e998ee Speed up pattern_formatter
7 years ago
gabime f2a8847902 Speed up pattern_formatter
7 years ago
gabime 94ac1261e4 Speed up default pattern
7 years ago
gabime 8b7e19e92f Bug fixes in pattern_formatter and async_logger
7 years ago
gabime cdbf2e361b Upgrade to fmt 5.x
7 years ago
gabime a21594bec7 move underscores to the end of private members
7 years ago
gabime 7d975de193 removed message_counter from tp
7 years ago
gabime 4b9949de7b format
7 years ago
gabime 7815d39807 removed wait_empty() from tp and q
7 years ago
gabime 38b3ecb02e use fmt::safe_strerror
7 years ago
gabime 8338b45b2b added tp->wait_empty()
8 years ago
gabime cfbc8e52ba use underscore at end of private members names
8 years ago
gabime 72506b3bab use underscore at end of private members names
8 years ago
gabime b002a21c36 use underscore at end of private members names
8 years ago
gabime 0d7a1d1ef9 format
8 years ago
gabime 59a15c02d3 use std::string in async_msg instead of fmt::MemoryWriter
8 years ago
gabime e4ed7528e3 fixed class name
8 years ago
Gabi Melman 16376c18aa
Update thread_pool.h
8 years ago
Gabi Melman 001e22ebee
Update registry.h
8 years ago
gabime 8901cbffe0 added catch macro and fixed some tests
8 years ago
gabime b9d7c45e40 Use blocking queue
8 years ago
gabime cf63bcb808 catch exceptions during flush and cal handler
8 years ago
gabime 4ec17f1a1a Normalized spdlog include paths
8 years ago
gabime 3c7103d90d Format
8 years ago
gabime b393c9d6e6 Fixed console traits
8 years ago
gabime 67ddd59701 Move msg and remove spinning
8 years ago
gabime 78ea362e27 Don't rethrow after catch(...)
8 years ago
gabime f2023e80a8 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
8 years ago
gabime 384ae1dc1b Removed unneeded intializers from async_msg
8 years ago
Gabi Melman c63f8a6ea0
Delete spdlog_impl.h
8 years ago
gabime c962c88342 Fixed linux port of v1.x
8 years ago
gabime d6cb447667 fixed compile error
8 years ago
gabime 11e068d7a3 Added missing #include
8 years ago
gabime 924ef84241 Refactred spdlog.h and console sinks. Added global lock for all console sinks (traits)
8 years ago
gabime 9bffa921ae global mutex stdout stderr sinks
8 years ago
gabime b4cde3fc21 Added missing files
8 years ago
gabime 6f4cd8d397 thread_pool and refactoring async
8 years ago
gabime 3fdc7996db code formatting
8 years ago
gabime cfb450c059 Fixed eol write in pattern_formatter_impl
8 years ago
Gabi Melman b416685d6f
Fix gcc warning on stat (32 bits)
8 years ago
gabime 64c2fe180b Fixed bug in wrapping colors around level name in default pattern
8 years ago
gabime 3452892f76 minor renaming
8 years ago
gabime c8610d9a86 support for color formatting
8 years ago
gabime 93d41b2c0e fixed gcc warning about struct stat
8 years ago
gabime 18c99682a8 fixed clang warning about uninitialized values
8 years ago
gabime 200815892f Fix clang-tidy warnings about missing braces around if and for statements
8 years ago
gabime 56e4a201ec formatting
8 years ago
gabime 4445f6f869 formatting
8 years ago
gabime 5afb5dc782 Changed clang formatting for templates
8 years ago
gabime a2653d409f clang-format
8 years ago
gabime 84d3c90b93 Fixed g++ 4.9 warnings after the clang-tidy fixes
8 years ago
Daniel Chabrowski de642b6263 astyle applied
8 years ago
Daniel Chabrowski 5355bd3a8f readability-named-parameter
8 years ago
Daniel Chabrowski 17caf77784 google-build-namespaces
8 years ago
Daniel Chabrowski 0c94ce0039 deleted copy op and a little format
8 years ago
Daniel Chabrowski af50d5ef1f readability-inconsistent-declaration-parameter-name
8 years ago
Daniel Chabrowski 9ce66f2c9a modernize-pass-by-value
8 years ago
Daniel Chabrowski ad624432d8 google-explicit-constructor
8 years ago
Daniel Chabrowski 1e1ca23101 modernize-use-equals-default
8 years ago
Daniel Chabrowski e5bbe57f01 cppcoreguidelines-pro-type-member
8 years ago
Daniel Chabrowski 68f91822ed performance-unnecessary-value-param
8 years ago
Daniel Chabrowski 7aed498540 modernize-use-default-member-init
8 years ago
Daniel Chabrowski d5a3bb5234 readability-else-after-return
8 years ago
Daniel Chabrowski 9ebb9ff318 readability-implicit-bool-cast
8 years ago
Daniel Chabrowski 7f4c1bb77c modernize-use-using
8 years ago
gabime abc0d43995 astyle
8 years ago
gabime 80163dc6c1 Better support for WinRT
8 years ago
gabime 7709fc70eb small fix to pattern_formatter ctor
8 years ago
Gabi Melman bce33698be
Merge pull request #628 from emadwill/eol
8 years ago
gabime 7fe3912f12 astyle
8 years ago
gabime 6df52df5b4 Use emplace_back in pattern_formatter
8 years ago
gabime bdca50e6a7 Fixed issue #637
8 years ago
Emad William Farag 55680db160 Support for custom EOL per formatter
8 years ago
gabime 5372d58adc comment
8 years ago
Joao Moreno 357a63d914 fix spdlog namespace
8 years ago
Joao Moreno a938045135 use Sleep in Windows instead of sleep_for
8 years ago
Sam Lunt 9f8413308a add global flush_on function
8 years ago
Gabi Melman b53d207f44
Update file_helper.h
8 years ago
Gabi Melman fde12195ee
Update file_helper.h
8 years ago
gabime 4ca6991828 astyle
8 years ago
gabime f695e536dd Fixed file_helper::split_by_extenstion and added more tests for it
8 years ago
gabime 0ed3e4cf76 Merge branch 'master' of https://github.com/gabime/spdlog
8 years ago
gabime 6d355fd602 report about unknown excepptions before rethrow
8 years ago
Force Charlie 42e5d98a48 fix split_by_extenstion parse error extenstion
8 years ago
gabime ed5498a2e9 report unexected exception types
8 years ago
Gabi Melman d460c3026a
Merge pull request #568 from adubovikov/master
8 years ago
Gabi Melman 88fe218741
Update logger_impl.h
8 years ago
Gabi Melman b1be7b9fea
async log: increased sleep to to 500ms the worker loop
8 years ago
Alexandr Dubovikov bec6919587 added facilty for syslog
8 years ago
gabime f5939f9e56 astyle
8 years ago
gabime 3c4a2bf531 Handle file extensions in rotating and daily loggers
8 years ago
gabime 799ba2a57b added SPDLOG_DISABLE_TID_CACHING macro to prevent invalid thread ids after fork
8 years ago
gabime dcc7b347ca Removed all *_if functions (trace_if, debug_if, info_if,..) because they are redundant and confusing way to preform if
8 years ago
gabime c41b6d28b5 astyle
8 years ago
gabime fd170b0fe1 catch(...) exceptions, report it, and rethrow
8 years ago
gabime 8ca1d84a32 Removed catch(..) from the codebase. Catch only std::exception
8 years ago
daylanKifky 27e7412640 modified path on quoted #includes
8 years ago
gabime 93be7713e0 astyle
8 years ago
Subenlele 34a9f24dba
Declare variables as size_t rather than unsigned.
8 years ago
gabime f70b2ef3b8 Fixed cygwin support
8 years ago
gabime a66e9bbaf1 Minor fix in comment
8 years ago
gabime f5fe681a41 Fixed issue #546 by adding an "is_empty" method to the queue instead of the buggy approx_size
8 years ago
Gabi Melman 1f3d939009 Merge pull request #538 from berkus/patch-1
8 years ago
Gabi Melman fbb8244f7d Merge pull request #533 from manuel-schiller/patch-1
8 years ago
manuel-schiller 039b34e83a rethrow unwind exception
8 years ago
knowledge4igor 147bdbf591 Fix warnings which are caused by C style cast
8 years ago
Berkus Decker 4974743ee8 Make short month names match in length
8 years ago
Berkus Decker 1c8cc65f6c Fix typos
8 years ago
gabime 4a159ad66d Fixed unused variable warning
8 years ago
gabime 709948ff4a Fixed issue #527
8 years ago
fogo e8b7f4194a Moved printf include to fmt.h
8 years ago
fogo ee525f9bef allow printf style logging
8 years ago
John Andre Hestad 375b7fdda5 Fix SPDLOG_WCHAR_TO_UTF8_SUPPORT wchar_t logging
8 years ago
Jason Beach f7fabfb2c4 add formatter for unix epoch time in seconds.
8 years ago
gabime 268222e496 Fixed crash in async logger in gcc 4.8.5 regarding static members in pattern_formatter impl
8 years ago
Alexei Pastuchov 8fd16fc45e code formatting (astyle and dos2unix)
8 years ago
sheldonlyr 66a2c4993b More meaningful thread id for OSX
8 years ago
Asit Kumar Dhal de0154c525 Test Case for conditional logging
8 years ago
Asit Kumar Dhal 380233b727 mend
8 years ago
Asit Kumar Dhal b463b06ab5 conditional logging for all levels
8 years ago
Asit Kumar Dhal 9a189badbd conditional logging implementation
8 years ago
Asit Kumar Dhal ed7c3a83f8 conditional logging implementation
8 years ago
Carsten Neumann 8ee90d3349 Add create_async factory functions for async loggers
8 years ago
ThePhD 7e09f01847 brace styling
9 years ago
ThePhD d98d54896b use if statement instead of switch (changes of adding new time specifications outside of standard are probably unlikely anyhow)
9 years ago
ThePhD 18a0455b91 _pattern was never set... but it was also never used. Intentional by @gabime, or a reflection of a refactor with some data member left behind?
9 years ago
ThePhD 5c5080d304 implement a flag (in this case, an enumeration) that allows control over the type; we make it an enum for possible expansions of time abstractions that might make it into the C++ standard in the future (see Howard Hinnant's date/timezone library) or might be usefully-available from the OS at some point in time
9 years ago
Tennn f8d509d010 Fixed issues 449
9 years ago
gabime 361344912e Refactored message counter a little
9 years ago
gabime 6cc7e7382e astyle
9 years ago
gabime 40fc5becff fixed compilation
9 years ago
gabime 3899e8a560 fixed compilation warning
9 years ago
gabime 98addad888 Disable colors if terminal no attached and simplfy ansicolor_sink
9 years ago
Alexander Zilberkant ef6eb376d3 disable message counter feature in tweakme.h
9 years ago
Alexander Zilberkant f29ff77ae7 implement message counter feature
9 years ago
Elias Kosunen c6c5a46560 Fix OSX builds of details/os.h
9 years ago
gabime def86e6e20 Fixed forgotten inline keyword
9 years ago
gabime 1d6842f0f9 bugfix in color detection and astyle
9 years ago
gabime eb92cc35df Merge branch 'master' of https://github.com/gabime/spdlog.git
9 years ago
gabime bd25f59a42 Don't use color escape codes if terminal doesn't support them in ansicolor_sink
9 years ago
Gabi Melman a39f71dbd4 Merge pull request #444 from alzix/minor-fixes
9 years ago
Alexander Zilberkant 8329d97d90 fix indentation
9 years ago
Alexander Zilberkant 6547675e43 Revert "Merge pull request #441 from alzix/count_discarded"
9 years ago
Gabi Melman 038733345a Merge pull request #441 from alzix/count_discarded
9 years ago
Alexander Zilberkant 42258a1059 move discarded message handling to a dedicated function
9 years ago
Alexander Zilberkant 0aeaf9e28e add an option to warn about discarded messages
9 years ago
Sidyhe 8ee6d38501 add wide string to utf8 string support
9 years ago
Barrett 84a4f56eae Allow compiler to select an strerror_r stringify
9 years ago
gabime e9b8286714 Merge branch 'master' of https://github.com/gabime/spdlog.git
9 years ago
gabime 81965bc300 Fixed some analyzer warnings
9 years ago
Jean-Michaël Celerier 53138c20fb Add an optional final qualifier to types
9 years ago
Gabi Melman 8b11ffe163 Merge pull request #413 from odeits/patch-3
9 years ago
odeits 8d5ecc1b58 Fix typo immediatly immediately
9 years ago
odeits 682d2e057f Fix typo in comment Unkown to Unknown
9 years ago
Gabi Melman 15af514951 Update file_helper.h
9 years ago
odeits ea359254d6 Fix typo Unkown to Unknown
9 years ago
Oleksii Mandrychenko d315bba1f8 Initialising members via constructor
9 years ago
Oleksii Mandrychenko b5d838cc32 - Reverting changes to mpmc queue
9 years ago
Oleksii Mandrychenko 6a41bc40af [#404] Reading past valid address with multisink logger
9 years ago