Decisions: Specify language of code sections
@@ -45,12 +45,16 @@ and unusable. Thus there is an urge for this decision.
Provide a Macro
+```c
ELEKTRA_LOG (int module, const char *msg, ...);
+```
that calls
+```c
elektraLog ([as above], const char * function, const char * file,
- const int line, ...)
+ const int line, ...);
+```
and adds current function, file and line to `elektraLog`'s arguments.
@@ -77,7 +81,9 @@ So we would have:
To add a new module, one simply adds his/her module to `elektramodules.h` via
`#define`:
+```c
#define ELEKTRA_MODULE_<NAME> <SEQNUMBER>
+```
The module name `<NAME>` shall be consistent with module names used in
`module:` of `src/error/specification`.
