[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17351 - gnunet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17351 - gnunet |
Date: |
Mon, 10 Oct 2011 15:51:51 +0200 |
Author: grothoff
Date: 2011-10-10 15:51:51 +0200 (Mon, 10 Oct 2011)
New Revision: 17351
Modified:
gnunet/HACKING
Log:
convention
Modified: gnunet/HACKING
===================================================================
--- gnunet/HACKING 2011-10-10 13:50:43 UTC (rev 17350)
+++ gnunet/HACKING 2011-10-10 13:51:51 UTC (rev 17351)
@@ -33,6 +33,8 @@
- pure libraries (without associated service) use 'GNUNET_log_from' with
the component set to their library name (without lib
or '.so'), which should also be their directory name (i.e. 'nat')
+- plugins should use 'GNUNET_log_from' with the directory name
+ and the plugin name combined to produce the component name (i.e.
'transport-tcp').
- logging should be unified per-file by defining a LOG macro with the
appropriate arguments, along these lines:
#define LOG(kind,...) GNUNET_log_from (kind, "example-api",__VA_ARGS__)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17351 - gnunet,
gnunet <=