aboutsummaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-10 13:51:51 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-10 13:51:51 +0000
commita2939bc01a0ee9a002735f04d8c731130d7a3248 (patch)
tree1a9e41362773f8b158a799782477cedf47ed1064 /HACKING
parent0ae088e715401ce9a9681ade685a426058afc8db (diff)
downloadgnunet-a2939bc01a0ee9a002735f04d8c731130d7a3248.tar.gz
gnunet-a2939bc01a0ee9a002735f04d8c731130d7a3248.zip
convention
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING2
1 files changed, 2 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 3fbf17573..6e7a3e50e 100644
--- a/HACKING
+++ b/HACKING
@@ -33,6 +33,8 @@ logging:
33- pure libraries (without associated service) use 'GNUNET_log_from' with 33- pure libraries (without associated service) use 'GNUNET_log_from' with
34 the component set to their library name (without lib 34 the component set to their library name (without lib
35 or '.so'), which should also be their directory name (i.e. 'nat') 35 or '.so'), which should also be their directory name (i.e. 'nat')
36- plugins should use 'GNUNET_log_from' with the directory name
37 and the plugin name combined to produce the component name (i.e. 'transport-tcp').
36- logging should be unified per-file by defining a LOG macro with the 38- logging should be unified per-file by defining a LOG macro with the
37 appropriate arguments, along these lines: 39 appropriate arguments, along these lines:
38 #define LOG(kind,...) GNUNET_log_from (kind, "example-api",__VA_ARGS__) 40 #define LOG(kind,...) GNUNET_log_from (kind, "example-api",__VA_ARGS__)