NetworkManager/src/libnm-log-core
Thomas Haller 575e35d1ca
log,dhcp: avoid deprecated GTimeVal API and use g_get_real_time()
GTimeVal is deprecated because it's not year 2038 safe (on architectures
where gulong is 32 bit). Don't use it. It's easy to replace.

See-also: e3f88f311f

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1572
2023-03-21 10:21:28 +01:00
..
meson.build build/meson: drop libnm_log_core_dep dependency 2021-02-28 10:42:04 +01:00
nm-logging.c log,dhcp: avoid deprecated GTimeVal API and use g_get_real_time() 2023-03-21 10:21:28 +01:00
nm-logging.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

libnm-log-core

libnm-glib-aux has a forward-declaration of logging API. If a libnm-glib-aux user uses that API for logging, it must link the final binary with an implementation.

There are two implementations: libnm-log-core and [../libnm-log-null/(..libnm-log-null/). This one is the implementation used by the daemon and logs to syslog/journald.