Commit Graph

2163 Commits

Author SHA1 Message Date
gabime
74dbf4cf70 mutex protect should_color() 2019-05-10 18:46:13 +03:00
Gabi Melman
e504aceeb5
Update wincolor_sink.h 2019-05-10 17:59:48 +03:00
gabime
3ce9ac74a6 Mutex protect set_color_mode() 2019-05-10 17:41:21 +03:00
Gabi Melman
3b0e7b4d0d
Merge pull request #1075 from psalz/add-force-color-output-option
Add option to force color output without TTY
2019-05-10 17:20:12 +03:00
Philip Salzmann
5e856c6b4d Add mode enum to control output of color sinks
This adds a new "color_mode" enum that can be used to control the color
code output behavior of sinks with color support. It can be one of three
values: always, automatic and never.
2019-05-10 09:47:16 +02:00
Gabi Melman
3669351427
Merge pull request #1064 from jhasse/extra-semi
Remove unnecessary semicolons (-Wextra-semi)
2019-04-17 20:57:59 +02:00
Jan Niklas Hasse
79938b98da Remove unnecessary semicolons (-Wextra-semi) 2019-04-17 15:24:25 +02:00
Gabi Melman
411d588fea
Merge pull request #1058 from mnemotic/cmake-fmt-header-only
Add a CMake option to use a header-only external fmt
2019-04-10 10:24:53 +03:00
Martin Green
7e63d773ef Make header-only external fmt the default 2019-04-10 06:49:57 +03:00
Martin Green
a984b1b073 Add a CMake option to use a header-only external fmt 2019-04-07 17:29:27 +03:00
Gabi Melman
02329f61e3
Merge pull request #1057 from martinkrammer/patch-1
Update README.md
2019-04-06 12:58:05 +03:00
Martin Krammer
ad63efdaf7
Update README.md
In order to use basic_logger_mt an additional include is required.
2019-04-06 11:17:11 +02:00
Gabi Melman
536f5d8203
Merge pull request #1055 from db-panda/v1.x
Fix unexpected log macro expansion.
2019-04-04 17:44:43 +03:00
Daniel Binsmaier
631416d54a Fix missing ';' in log macros 2019-04-04 12:04:53 +02:00
Daniel Binsmaier
d366a06461 Fix unexpected log macro expansion 2019-04-04 09:25:21 +02:00
Gabi Melman
7bf8f14879
Merge pull request #1045 from p-po/v1.x
Namespace qualify stat functions
2019-04-01 02:00:48 +03:00
Ponnuvel Palaniyappan
cd65d6de69 namespace qualify stat functions 2019-03-31 22:05:37 +01:00
Gabi Melman
043c4acc7e
Merge pull request #1035 from tt4g/add-public-api-initialize-logger
Add spdlog::initialize_logger
2019-03-25 12:02:31 +02:00
tt4g
eb478e38b2 Add spdlog::initialize_logger 2019-03-25 12:58:55 +09:00
gabime
b084b8b1d8 Cleaned systemd test 2019-03-22 14:16:16 +02:00
gabime
3ca19a8580 fix link to systemd in tests 2019-03-22 14:01:34 +02:00
Gabi Melman
9c12a44d6e
Merge pull request #1027 from WarShoe/v1.x
Add systemd sink.
2019-03-20 17:22:52 +02:00
Alexander Zvyagin
4706b0ada4 Add signature. 2019-03-20 15:32:47 +01:00
Alexander Zvyagin
cc98e9850d Avoid unnecessary conversion of log_msg::payload to std::string. 2019-03-20 15:29:38 +01:00
Alexander Zvyagin
af80db8c22 Add systemd sink. 2019-03-14 16:20:58 +01:00
Gabi Melman
053d5ad24d
Update README.md 2019-03-11 19:19:36 +02:00
Gabi Melman
e2805ac68a
Merge pull request #1022 from floouuu/v1.x
Expose should_do_colors_ in ansicolor_sink.h
2019-03-11 19:12:03 +02:00
Florian Wörter
1caf05cc52 Renamed exposed method. [#1004] 2019-03-11 14:15:58 +01:00
Florian Wörter
63cfb7db25 Exposed should_do_colors_ in ansicolor_sink.h. [#1004] 2019-03-11 14:12:26 +01:00
Gabi Melman
bdfc7d2a5a
Merge pull request #996 from MFornander/v1.x
Add tweak support for user short level names
2019-02-18 23:59:15 +02:00
Mattias Fornander
0ccbdcdd1f Add tweak support for user short level names 2019-02-18 14:33:41 -07:00
Gabi Melman
c598b2fa2d
Merge pull request #994 from romainthomas/fix/README
Fix typo in Android logger
2019-02-13 11:51:28 +02:00
Romain Thomas
4f86448bd4 Fix typo in Android logger 2019-02-13 09:19:29 +01:00
Gabi Melman
d235e7d46f
Fix #992 2019-02-08 12:14:17 +02:00
Gabi Melman
e25b323d1b
Merge pull request #990 from mnemotic/cmake-conditional-install
Add CMake option for conditional installation
2019-02-07 21:20:44 +02:00
Gabi Melman
42093c48b2
Merge pull request #988 from DanielChabrowski/remove-log-func
Remove unnecessary log function
2019-02-07 21:15:02 +02:00
Martin Green
9fca0b20f0 Add CMake option for conditional installation 2019-02-06 07:38:26 +02:00
DanielChabrowski
a6229d9e87 Remove pointless log with enable_if 2019-02-06 05:24:25 +01:00
Gabi Melman
c443896644
Merge pull request #986 from DanielChabrowski/sink-allow-custom-formatter
Allow custom formatter in sink's ctor
2019-02-03 19:50:22 +02:00
DanielChabrowski
79f11bd655 Allow custom formatter in sink ctor 2019-02-03 16:49:29 +01:00
Gabi Melman
c5552dac1f
Merge pull request #985 from FrancoisChabot/v1.x
Allow the inclusion of an external fmtlib as as sub_directory
2019-02-01 22:33:05 +02:00
Francois Chabot
734af31c13
Allow the inclusion of an external fmtlib as as sub_directory 2019-02-01 12:12:58 -05:00
Gabi Melman
2d96896fae
Merge pull request #984 from ZGCDDoo/shadowed_parameter
Shadowed parameter
2019-02-01 17:34:08 +02:00
charles-david
20a0f82701 Renamed input parameters to "params_in". 2019-02-01 07:59:50 -05:00
charles-david
e4b7dbce7f CMakeLists.txt same as v1.x branch. 2019-01-31 23:05:38 -05:00
charles-david
0f128fd561 Warning for shadowed parameter corrected in common.h
However, not in bundled fmt. Corrects compiling with basic logger with header only and -Werror.
2019-01-31 22:47:02 -05:00
Gabi Melman
ac8a7bc12d
Merge pull request #981 from ksergey/cmake-fix
CMAKE_BINARY_DIR -> CMAKE_CURRENT_BINARY_DIR
2019-01-28 12:10:49 +02:00
Sergey Kovalevich
90a299f424 CMAKE_BINARY_DIR -> CMAKE_CURRENT_BINARY_DIR 2019-01-28 11:48:45 +03:00
Gabi Melman
00a7f5d75d
Update README.md 2019-01-27 19:10:34 +02:00
Gabi Melman
2463fe92bd
Merge pull request #958 from pwm1234/pwm1234/rotate_on_open
Pwm1234/rotate on open
2019-01-24 18:23:48 +02:00