Each line of the log contains five items of information: [date - rank - source file - source function - value]
It is mandatory for any event to call src/fsm/log/manager/fsm_add_log() to be published in the journal.
fsm_add_log() can filter the informations according to their nature or severity.
It then calls src/fsm/log/oper/fsm_add_log_event() to add the formatted line it produces.
In include/fsm.h are: fsm_enum_log_severity and fsm_enum_log_source
Four additional functions enable to initiate and close the log:
in src/fsm/log/manager.c: fsm_trigger_log_init() and fsm_trigger_log_publication()
in src/fsm/log/oper.c: fsm_init_log() and fsm_publish_log()
Some functions that a typical list should implement but whose utility remains to evaluate
in the case of a log list are in src/fsm/log/forget.c
We wanted to have an automated documentation for our project. We choose doxygen
since this is a well-established project, with common standards.
To generate the documentation, simply type `make docs` and open `docs/html/index.html`.
The documentation zone actually contains:
- archives: several files from past of the projects, historical purpose
- GTK-docs: ressources on GTK internals and API
- rtfm: first draft of a user manual
- showcase: some pictures of the UI example, that were communicated on the Gem-graph discussion room (XMPP)
- html: doxygen-generated docs