20 Commits

Author SHA1 Message Date
Nils O. Selåsdal c6318c079d Re-format code to avoid overly long lines and declarations 2015-04-04 23:29:27 +02:00
Nils O. Selåsdal ab70a2c5be Make uc_log_init argument const 2014-12-02 23:38:24 +01:00
Nils O. Selåsdal dd925b3654 int log_level->enum UC_LOG_LEVEL 2014-12-02 23:22:18 +01:00
Nils O. Selåsdal 9bd1336d26 have LOGF macros add a newline, so user code doesn't need to. 2014-10-06 21:52:28 +02:00
Nils O. Selåsdal 22f6c1e043 Improve doxygen documentation. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 802462a5c0 Move UC_LOG_DESTINATION enum to logging.c, it's
not a public type
2014-09-12 01:11:40 +02:00
Nils O. Selåsdal 7bd1074c1d Initial attempt of log rotation based on file sizes 2014-09-12 01:11:40 +02:00
Nils O. Selåsdal 0e2d4f07c3 Adhere to coding style in logging module (struct uc_log_destination->
struct UCLogDestination, and similar for other structs)
2014-01-07 23:39:01 +01:00
Nils O. Selåsdal bcafaace29 Fix the log level string of NONE. 2013-11-30 04:48:26 +01:00
Nils O. Selåsdal ec63c1e88f Guard the UC_DEBUGF/UC_DEBUGFR with do{}while(0) 2013-11-30 04:39:59 +01:00
Nils O. Selåsdal 49503804dd Allow user to always (not just in debug mode) compile in UC_DEBUGXXX
log calls by defining UC_DEBUG_ALWAYS
2013-10-23 22:07:58 +02:00
Nils O. Selåsdal 2d680052b2 Fix UC_DEBUGF 2013-10-16 01:46:50 +02:00
Nils O. Selåsdal ee3dd22b0e Convert logging to use UC_SRC_LOCATION 2013-10-16 01:44:36 +02:00
Nils O. Selåsdal 48678a9858 Use consisten header guard, prefixed with UC_ 2013-10-13 17:37:28 +02:00
Nils O. Selåsdal 84153e90db Make UC_LL_NONE work 2013-06-20 19:55:09 +02:00
Nils O. Selåsdal 496818b7b5 Fix UC_DEBUGFR in debug mode 2013-06-13 01:10:23 +02:00
Nils O. Selåsdal 74b59a3a38 Implement setting log mask string on a destination.
Improve logging docs
2013-06-12 21:50:59 +02:00
Nils O. Selåsdal f8116643af Add uc_log_destination_set_log_location, fix signed/unsigned use 2013-06-05 21:09:35 +02:00
Nils O. Selåsdal 032e50e1cd Remove setting log level for a module, implement
setting log level for a destination
2013-06-01 23:45:14 +02:00
Nils O. Selåsdal 8badeaf857 Remove ucore_ prefix from headers and source files 2013-03-06 22:22:04 +01:00