libqb/examples
Chrissie Caulfield 7556204b27 Add the option of hi-res (millisecond) timestamps (#329)
* log: Add high-resolution timestamp option for log files

This adds the %T option to the log format for millisecond timestamps. There's a feature test macro QB_FEATURE_LOG_HIRES_TIMESTAMPS so that applications know that they are available.

Because this changes the internal logging API, applications that use custom loggers will also need to change their custom logging destinations to take a struct timespec instead of a time_t. The above feature test macro will help in deciding which is appropriate.
2018-11-09 09:56:44 +00:00
..
.gitignore MAP: add honza's example application. 2011-12-14 00:32:43 +11:00
ipcclient.c tests: make qb logging under check always dispose the memory 2017-09-18 10:30:40 +01:00
ipcserver.c warnings cleanup: Wformat: sign-correct PRIu32 specifiers as appropriate 2017-12-21 01:50:15 +01:00
Makefile.am configure: restrict nsl lib to where it's actually needed 2016-12-12 11:47:21 +01:00
mapnotify.c warnings cleanup: Wformat: sign-correct PRIu32 specifiers as appropriate 2017-12-21 01:50:15 +01:00
simplelog.c Add the option of hi-res (millisecond) timestamps (#329) 2018-11-09 09:56:44 +00:00
tcpclient.c openbsd requires netinet/in.h before arpa/inet.h 2012-08-29 22:40:38 +10:00
tcpserver.c Fixes detect disconnect on send for tcp example 2013-07-22 18:26:50 -05:00