summaryrefslogtreecommitdiff
path: root/src/log.h
Commit message (Collapse)AuthorAgeFilesLines
* log: Don't log __FILE__ and __func__ with DBG_IDXLuiz Augusto von Dentz2022-03-231-2/+4
| | | | | This removes __FILE__ and __func__ from DBG_IDX since users of it may already contain such information embedded in the format.
* src: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- LGPL-2.1-or-later : 62 GPL-2.0-or-later : 51 BSD-2-Clause : 2 License: LGPL-2.1-or-later src/adv_monitor.c src/adv_monitor.h src/shared/mainloop-glib.c src/shared/btp.c src/shared/tester.c src/shared/btsnoop.c src/shared/gatt-helpers.h src/shared/log.h src/shared/util.h src/shared/mainloop-ell.c src/shared/hci-crypto.c src/shared/mainloop.c src/shared/hfp.h src/shared/mainloop-notify.c src/shared/io-mainloop.c src/shared/btsnoop.h src/shared/uhid.h src/shared/util.c src/shared/ringbuf.c src/shared/btp.h src/shared/shell.h src/shared/io-glib.c src/shared/queue.h src/shared/gatt-server.h src/shared/crypto.c src/shared/crypto.h src/shared/io-ell.c src/shared/timeout-glib.c src/shared/mgmt.c src/shared/gatt-db.c src/shared/mainloop-notify.h src/shared/hfp.c src/shared/timeout-ell.c src/shared/shell.c src/shared/hci.c src/shared/log.c src/shared/ringbuf.h src/shared/gatt-helpers.c src/shared/queue.c src/shared/tty.h src/shared/timeout-mainloop.c src/shared/tester.h src/shared/gap.h src/shared/mgmt.h src/shared/gatt-db.h src/shared/uhid.c src/shared/mainloop.h src/shared/timeout.h src/shared/att-types.h src/shared/pcap.c src/shared/gap.c src/shared/att.c src/shared/pcap.h src/shared/hci.h src/shared/gatt-client.h src/shared/io.h src/shared/gatt-client.c src/shared/ad.c src/shared/att.h src/shared/gatt-server.c src/shared/hci-crypto.h src/shared/ad.h License: GPL-2.0-or-later src/attrib-server.h src/advertising.h src/textfile.c src/attrib-server.c src/uinput.h src/log.h src/eir.h src/sdpd.h src/sdpd-request.c src/service.h src/sdpd-database.c src/adapter.h src/plugin.h src/uuid-helper.h src/plugin.c src/main.c src/sdp-xml.c src/error.h src/oui.c src/device.c src/agent.h src/sdp-client.c src/oui.h src/device.h src/gatt-database.c src/error.c src/backtrace.c src/sdpd-server.c src/adapter.c src/log.c src/agent.c src/backtrace.h src/sdp-xml.h src/hcid.h src/dbus-common.h src/uuid-helper.c src/storage.c src/profile.c src/advertising.c src/storage.h src/dbus-common.c src/profile.h src/sdpd-service.c src/eir.c src/sdp-client.h src/gatt-database.h src/gatt-client.h src/rfkill.c src/gatt-client.c src/service.c src/textfile.h License: BSD-2-Clause src/shared/ecc.h src/shared/ecc.c
* log: Make error and warn log file and function informationLuiz Augusto von Dentz2020-05-011-2/+4
| | | | | | This makes it a lot simpler to find out where errors/warnings come from and also remove the possibility of clashes when having multiple places where the message would be exactly the same.
* core: Add function for logging with priority informationMarcel Holtmann2015-11-111-0/+3
|
* core: Add logging functions for controller specific messagesMarcel Holtmann2015-11-081-5/+16
|
* codingstyle: Change __FUNCTION__ to __func__Andrei Emeltchenko2013-09-111-1/+1
| | | | | | | | | | The __func__ macro is part of the C99 standard whereas __FUNCTION__ is a legacy gcc specific alias for it: http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html Additionally, checkpatch.pl that's commonly used to verify coding style also recommends to use __func__ instead of __FUNCTION__.
* src: Add function for printing warningsChan-yeol Park2012-04-161-0/+1
|
* src: Fix newline before EOFSyam Sidhardhan2012-04-131-1/+0
|
* plugin: Add debug support for exteranl pluginsMarcel Holtmann2011-08-141-0/+3
|
* Fix empty parameter list in functions declarationsSzymon Janc2011-05-181-1/+1
|
* Remove unused name parameter from btd_debug_descSzymon Janc2011-05-101-1/+0
|
* Fix some code style issuesLuiz Augusto von Dentz2010-06-291-10/+9
|
* Remove the broken concept of debug_enabled handlingMarcel Holtmann2010-06-121-4/+1
|
* Rename debug() into btd_debug() to hide it in favor of DBG()Marcel Holtmann2010-06-121-3/+4
|
* Fix regression with debug via SIGUSR2Gustavo F. Padovan2010-06-081-1/+5
| | | | | | | The new dynamic debug feature was not using the SIGUSR2 signal so this was causing bluetoothd to crash when one tries to toggle debug via SIGUSR2. This patch brings back such compatibility andadds debug_string and debug_enabled vars.
* Remove ifndef barrier from log.h and btio.hGustavo F. Padovan2010-06-081-4/+0
|
* Move logging.{c,h} to log.{c,h}Gustavo F. Padovan2010-05-211-0/+60
Try to make log stuff more similar to ConnMan and oFono.