Index: ossp-pkg/l2/TODO RCS File: /v/ossp/cvs/ossp-pkg/l2/TODO,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/l2/TODO,v' 2>/dev/null --- TODO 2001/05/10 19:46:01 1.1 +++ TODO 2001/05/12 09:27:23 1.2 @@ -1,6 +1,44 @@ -OSSP liblog -=========== +OSSP L2 +======= + +TODO +---- + +- channel backends +- message formatting +- rc-file autoconfiguration +- C++ API +- documentation C API +- documentation C++ API + +BRAINSTORMING +------------- + +Channel Handler Configuration: +o l2_handler_null + - no configuration at all +o l2_handler_fd + - mode="unix|stdio" + - fd=int|FILE* +o l2_handler_file + - mode="unix|stdio" + - path=char* + - append="yes|no" +o l2_handler_pipe + - url="prg:/path/to/program" + - fd=int +o l2_handler_socket + - url="tcp://hostname:port" + - fd=int +o l2_handler_syslog + - ident=char* +o l2_handler_filter + - pattern=char* +o l2_handler_prefix + - prefix=char* +o l2_handler_buffer + - size=size_t Braindump: - debugging is special case of logging @@ -108,29 +146,9 @@ - Varargs: log ist nur wrapper fuer vlog -- Source Tree: - README .......... information about package - INSTALL ......... instructions for installation - LICENSE ......... license information - TODO ............ to-do list - ChangeLog ....... history of all changes - Makefile.in ..... build specification - configure.in .... GNU Autoconf script source - aclocal.m4 ...... GNU Autoconf internal macros - libtool ......... GNU Libtool utility - shtool .......... GNU Shtool utility - l2.m4 ........... GNU Autoconf public macro AC_L2() - l2-config.in .... configuration utility script - l2.h ............ C API definition - l2.c ............ C API+internals implementation - l2.hh ........... C++ API definition - l2.cc ........... C++ API implementation - l2.pod .......... Unix manual page source (POD format) - l2_test.c ....... Test application - - Error Handling: o log kein Return Code - o aber error callback function (dadrin in C++: throw, in C: exit) + o aber error callback function (dadrin in C++: throw, in C: exit) - Newline Handling: option fuer channel: \r, \r\n, \n oder gleich string @@ -150,7 +168,6 @@ der Präprocessor an einem eventuell vorhandenen Komma scheitert. Dies kann beim gcc durch Voranstellen von "##" vor dem "__VA_ARGS__" umgangen werden. Ouch. - Beide Erweiterungen sind derzeit nicht aktiv, wenn mit -ansi compiliert wird. Explizit anschalten läßt sich die standard-konforme Erweiterung über "-std=c9x", bzw. "-std=c99" bei neueren gccs.