summaryrefslogtreecommitdiff
path: root/include/ouroboros/logs.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: Log to the logging systemdimitri staessens2017-02-081-34/+22
| | | | | | | | | | This removes the logfile and outputs log messages to the logging system. The creation of the logfiles (as well as the ap_init() call) were moved into ipcp_init() to simplify the IPCP creation and shutdown. Fixes #25 Fixes #27
* logs: Comply with C99 standard for variadic macrosdimitri staessens2017-01-111-21/+24
|
* build: Update licenses and copyrightdimitri staessens2017-01-091-10/+11
| | | | | Copyright is set to 2016 - 2017. License text on includes and sources in the library are changed to indicate the LGPLv2.1 license.
* ouroboros: Correct license statementsdimitri staessens2016-12-241-3/+2
| | | | | This corrects the license statements on all files. Installed headers are LGPLv2.1, the rest of the code is GPLv2.
* logs: Print process id's to stdoutdimitri staessens2016-12-241-2/+5
|
* build: Compile with strict conversiondimitri staessens2016-10-221-1/+1
| | | | | This has the code checked with -Wcast-qual and -Wconversion flags. These flags were removed because SWIG generated code fails.
* lib:irmd: Fix logs and irm_createdimitri staessens2016-07-061-1/+2
| | | | | | | The irm_create() function called irmd_destroy before some key values were initialized. Logs cleanup was missing.
* lib: Fix crapped up indentationSander Vrijders2016-07-061-2/+2
| | | | This fixes some crapped up indentation in logs.h
* lib, irmd, ipcpd: Provide the feature to write to logsSander Vrijders2016-07-061-14/+33
| | | | | | | | | | Writing output to log files is now enabled by default. Logs are written to <INSTALL_PREFIX>/var/log/ouroboros, which is created on install. There is a log file for the irmd and one per IPCP. To still get (colored) output on stdout, provide the --stdout switch when starting the irmd. Fixes #17
* lib: updated log message formattingdimitri staessens2016-03-241-8/+20
| | | | | | | | | logs will now display as follows: (EE): error, in red (WW): warning, in yellow (II): info, in green (NI): missing code, in blue (DB): debug messages in white
* logs.h: Added LOG_DBGF macroDimitri Staessens2016-02-231-0/+2
| | | | Displays the function name in the log message.
* include: Add copyright noticeSander Vrijders2016-02-121-0/+3
| | | | Added a copyright notice to the logs.h file
* include: Add logging infrastructureSander Vrijders2016-02-121-0/+45
Adds the logging infrastructure to the prototype. 2 helper scripts are also provided to compile the prototype in either release or debug mode. In debug mode debugging logs are printed.