Steve Lhomme
56ab65e9ea
modules: remove standalone AM_CFLAGS usage
...
It's implied when the xxx_CFLAGS is not set.
2022-06-02 05:39:11 +00:00
Thomas Guillem
3f0b8717c2
tracer: pass the timestamp to modules
...
To let tracer users send their own timestamp.
2022-05-14 06:48:20 +00:00
Thomas Guillem
425f4424d6
tracer: move tick conversion in modules
2022-05-14 06:48:20 +00:00
Thomas Guillem
7ebb2d4895
tracer: json: use a define for tick -> integer conversion
...
This fixes a timebase mismatch between values from tracer entries (NS vs US).
2022-05-12 18:07:58 +00:00
Mehdi Sabwat
85a5bb173e
logger: add emscripten module
...
Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Co-authored-by: Thomas Guillem <thomas@gllm.fr>
2022-02-25 17:05:07 +00:00
Lyndon Brown
6f68f89498
plugins: purge use of set_category()
...
see e967f81f6a
.
note, this does **not** affect cat-based module selection items
(of which there are just three in use by the core), since that
mechanism uses subcats not cats.
2021-12-20 09:45:01 +00:00
Nicolas LeQuec
fcafe8a5ce
logger: add new trace module
...
Add a trace module that stores the traces in a file or displays them
in stdout with a json notation.
2021-08-31 12:35:56 +00:00
Romain Vimont
3716a7da5b
config: remove remaining "advanced" flags
...
The config "advanced" flag was unused and has been removed by
6a7a137f7b
.
It has been removed from many add_*() macros, but not all. Remove it
from the remaining macros.
2021-06-06 08:42:50 +00:00
Rémi Denis-Courmont
542df0f3ad
Use set_callback() where applicable
2019-07-18 18:58:10 +03:00
Johan Gunnarsson
579a83abb6
logger: Fix warning
...
logger/journal.c: In function ‘Open’:
logger/journal.c:75:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
return &ops;
^~~~
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2019-06-16 16:43:51 +03:00
Rémi Denis-Courmont
bba70b6543
console: avoid integer to pointer conversion
2018-11-20 21:52:20 +02:00
Rémi Denis-Courmont
2a7497657d
syslog: use destroy callback
2018-11-18 17:56:52 +02:00
Rémi Denis-Courmont
a5314babc0
file logger: use destroy callback
2018-11-18 17:56:52 +02:00
Rémi Denis-Courmont
49b6bc3351
log: define constant operations structure
2018-11-18 17:56:52 +02:00
KO Myung-Hun
0adb6dc67a
logger/console: print messages in system locale on OS/2
...
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2018-05-18 11:28:43 +02:00
Rémi Denis-Courmont
0e9e4feb7c
config: remove advanced from add_savefile()
2018-04-24 21:36:45 +03:00
Rémi Denis-Courmont
b97304c176
file logger: do not disable buffering
2017-11-14 17:55:21 +02:00
Marvin Scholz
fc05351f4f
logger/file: Improve the verbosity option description
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-10-13 01:00:16 +02:00
Marvin Scholz
e597583b00
logger/file: Use defines for logfile text and longtext
...
Make it consistent with the rest of the options text and longtexts
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-10-13 00:59:51 +02:00
Marvin Scholz
4f555ac71f
logger/file: Use choice list for log-verbose option
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2017-09-08 18:18:54 +03:00
Thomas Guillem
efd04637ad
logger/console: fix indent
2016-10-21 16:22:49 +02:00
Thomas Guillem
e8bfe53375
logger/android: fix verbosity level
...
Now, Android verbose flags corresponds of the others platforms one
(-vv is enough for full logs).
2016-10-21 16:22:32 +02:00
Thomas Guillem
0fd217b29c
logger: android: display thread id
2016-05-26 13:59:56 +02:00
Rémi Denis-Courmont
d838f848d6
messages: add thread ID in message meta-data
2016-05-25 23:06:52 +03:00
Rémi Denis-Courmont
f2c0c9a5d3
messages: remove redundant cancellation handling
2015-04-20 18:12:07 +03:00
Rémi Denis-Courmont
56220f8612
vlc_plugin: fix non-LGPL plugins meta infos
2015-03-21 14:18:20 +02:00
KO Myung-Hun
5253cf2846
logger: fix compilation on OS/2
...
-----
CC logger/console.lo
logger/console.c: In function 'Open':
logger/console.c:115:5: error: implicit declaration of function 'isatty' [-Werror=implicit-function-declaration]
if (isatty(STDERR_FILENO) && var_InheritBool(obj, "color"))
^
logger/console.c:115:16: error: 'STDERR_FILENO' undeclared (first use in this function)
if (isatty(STDERR_FILENO) && var_InheritBool(obj, "color"))
^
logger/console.c:115:16: note: each undeclared identifier is reported only once for each function it appears in
cc1.exe: some warnings being treated as errors
-----
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-02-23 17:51:01 +01:00
Thomas Guillem
39bd1d8639
logger/android: use "verbose" var
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-02-10 15:15:55 +01:00
Thomas Guillem
a8d492c918
android: convert Android logger to module
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-02-09 14:17:34 +01:00
Rémi Denis-Courmont
6d30448f5d
journal: relicence to LGPL
2015-02-08 17:51:48 +02:00
Rémi Denis-Courmont
6e04a12cd8
console: fix licence
...
This comes from src/misc/messages.c with new code.
2015-02-08 17:51:48 +02:00
Rémi Denis-Courmont
e8fc5a926b
file: convert file logger to a logger module
2015-02-08 17:35:55 +02:00
Rémi Denis-Courmont
15ed098258
journal: add native logger module for the SystemD Journal
2015-02-08 14:57:17 +02:00
Rémi Denis-Courmont
b20e1eda4a
syslog: convert to logger module
2015-02-08 14:57:14 +02:00
Rémi Denis-Courmont
49006c5948
console: convert console logger to module
2015-02-08 12:56:58 +02:00