summaryrefslogtreecommitdiff
path: root/src/LogBackend.cxx
AgeCommit message (Collapse)Author
2020-03-12replace assert.h with cassertRosen Penev
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max Kellermann
2019-05-23LogBackend: set default log level to "default"Max Kellermann
This is the documented value, but for unknown reasons, "info" was really the default. This was never noticed because there are only very few "info" level messages.
2019-05-23Log: make LogLevel the first parameterMax Kellermann
Prepare for templated functions.
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-10-31*: copyright year 2018Max Kellermann
2018-08-20Merge branch 'v0.20.x'Max Kellermann
2018-08-19android: add LogListenerThomas Guillem
A Java object to send logs on the android side.
2017-12-16Merge branch 'v0.20.x'Max Kellermann
2017-12-12*: check defined(_WIN32) instead of defined(WIN32)Max Kellermann
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
2017-07-05util/StringUtil: move strip functions to StringStrip.cxxMax Kellermann
2017-05-16Log: add "noexcept"Max Kellermann
2017-01-03update copyright yearMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-06-22LogBackend: remove character set supportMax Kellermann
Always write UTF-8 to the log file.
2015-01-01Copyright year 2015Max Kellermann
2014-12-17LogBackend: force-flush stderr on WIN32Max Kellermann
setvbuf() does not seem to have an effect on Windows.
2014-08-07LogBackend: use StripRight()Max Kellermann
Eliminate duplicate code.
2014-08-07util/CharUtil: add IsWhitespaceFast()Max Kellermann
2014-02-22LogBackend: use __android_log_print() on AndroidMax Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-12-15configure.ac: add option "--disable-glib"Max Kellermann
Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
2013-12-15LogInit: move backend code to LogBackend.cxxMax Kellermann
2013-12-15Log: move Log() to LogBackend.cxxMax Kellermann
Prepare for GLib removal.