Commit Graph

74 Commits (eeb22c13bb65f342434c991641b80ecf4821e9b9)

Author SHA1 Message Date
Philippe Vaucher eeb22c13bb
Allow customization of syslog_sink (#3124)
Thanks @Silex
1 year ago
shannonbooth 2d5179ba7d
sinks: Make syslog_sink.h's syslog_prio_from_level protected (#2918)
To allow for using this function from a derived sink.
2 years ago
gabime 0a53eafe18 update clang format again 2 years ago
gabime 4b2a8219d5 reformat code 2 years ago
gabime 9d52261185 clang format 2 years ago
gabime 1a0bfc7a89 clang format 2 years ago
Gabi Melman b9726ba66d
Update syslog_sink.h 5 years ago
Gabi Melman b20ffa7369
Fix #1523 5 years ago
Cristian Morales Vega 7cdd65075c "#include" <spdlog/.*> instead of "spdlog/.*"
The meaning of using quotes to #include is implementation defined, so it
may or not may be what we want. At least POSIX
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html)
says: "headers whose names are enclosed in double-quotes ( "" ) shall be
searched for first in the directory of the file with the #include line",
so not what we want since "spdlog" ends up twice in the path.
6 years ago
gabime 3b425affd3 Fixed missing braces around initializer warnings about std::array initializations 6 years ago
gabime b6388a15ff Fix issue #1223 6 years ago
gabime f5492aed12 Unified usage of fmt::memory_buffer across the codebase 6 years ago
gabime 87ec1ab97b Fixed clang warnings 6 years ago
gabime 9fbf82b603 Fixed gcc9 conversion warning 6 years ago
gabime 5f27697198 clang-format 6 years ago
gabime 847f7de003 Simplify syslog sinks overflow check 6 years ago
Mattias Jernberg d969f8621d Fix syslog output
payload does not appear to be reliably null terminated and leaks
data. Use size to the formatter to reliably terminate messages.
6 years ago
gabime f5831d5132 clang-format 6 years ago
gabime 90dd56b839 Fix #1130 6 years ago
gabime d1d2609f49 Updated syslog_sink 6 years ago
gabime 29f2eeea31 Removed formatter_ member from the sink interface 6 years ago
Gabi Melman 246b4b01c5
Update syslog_sink.h 6 years ago
gabime 220608e52a clang-format 6 years ago
gabime e68cf1c9ed Add formatting option to syslog in ctor. Fix issue #729 #1107 6 years ago
gabime bcfa9241b8 Updated copyright headers 6 years ago
gabime 78eeba940a Fix issue #114 6 years ago
gabime 46ef71e3ec Normalized copyright message 6 years ago
gabime 23fdc0eae4 Fixed issue #959 7 years ago
gabime 70bef682b0 Fixed clang-tidy warning about implicit conversion to string_view 7 years ago
gabime 6355e9895d Major change to log_msg - contain only string_view instead of buffer 7 years ago
Jerome Meyer cb71fea0f6 Use fmt::string_view when logging a C string to avoid unnecessary copy 7 years ago
gabime b368d18b0f Added default logger API 7 years ago
gabime 05d6960ebc code formatting and clang tidy warnings fixes 7 years ago
gabime 9e4925eff0 clang format 7 years ago
gabime c2a49080aa Refactored sink interface and base_sink 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 caa26a2a47 Normalized spdlog include paths 7 years ago
gabime c962c88342 Fixed linux port of v1.x 7 years ago
gabime e4d3eb64e6 Udpated example and spdlog.h 7 years ago
gabime 56e4a201ec formatting 8 years ago
gabime a2653d409f clang-format 8 years ago
Thiago Bastos d044369e3b Fix implicit conversion warnings (-Wsign-conversion) 8 years ago
Daniel Chabrowski fb6df0512f modernize-use-override 8 years ago
JP Cimalando 76d2620dad correct include path for sink/syslog_sink.h 8 years ago
daylanKifky 27e7412640 modified path on quoted #includes
Paths pointing to the root of the library where replaced for ones relatives to each file.

For example, inside /include/spdlog/details/file_helper.h:

This will look for os.h in /include/spdlog/details/spdlog/details/ which doesn't exists.

replaced with:
8 years ago
gabime 13fb2550c6 Fixed issue #449 8 years ago
gabime b13735dc22 astyle 9 years ago
Nazım Can Bedir 2678c37b56 Move syslog support tests to one place. 9 years ago
gabime 5b2bd79b7e Added support for syslog in FreeBSD 9 years ago