aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagnostic
Commit message (Collapse)AuthorAgeFilesLines
* migrate to SPDX labels.Gravatar Gediminas Jakutis 2021-03-162-30/+6
| | | | | | | No longer using bulky text blocks to mark files as LGPL which for smaller files took up more lines than the actual code. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostics: add knobs to toggle channels.Gravatar Gediminas Jakutis 2021-03-151-1/+43
| | | | | | | | | Individual channels can now be turned off and on with a simple knob call, providing an easy way to silence a channel. Tests not included, as deemed too trivial while being complicated to properly test. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostics: now cleaning up after varargs.Gravatar Gediminas Jakutis 2021-03-151-0/+4
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: now with line numbers and filenames!Gravatar Gediminas Jakutis 2021-02-092-16/+22
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: constify what should be constified.Gravatar Gediminas Jakutis 2021-02-041-7/+7
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: remove unused initializer.Gravatar Gediminas Jakutis 2019-11-141-1/+1
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: simplify tid printing logic.Gravatar Gediminas Jakutis 2019-11-131-9/+7
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: use format strings instead.Gravatar Gediminas Jakutis 2019-11-122-35/+126
| | | | | | flags are now dropped in place of per-stream format strings. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: implement printing function's name.Gravatar Gediminas Jakutis 2019-10-242-10/+14
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* remove pointless options.Gravatar Gediminas Jakutis 2019-10-241-8/+4
| | | | | | | Less maintenence burden, especially since modules start using one another, complicating build requirements otherwise. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: print time since program start instead.Gravatar Gediminas Jakutis 2019-10-242-13/+16
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: allow reseting output stream.Gravatar Gediminas Jakutis 2019-10-211-4/+0
| | | | | | | | We previously treated trying to set channel's stream to NULL as an invalid request, while a completely valid use-case for this is to allow resetting the stream to whichever default it uses. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: emit a newline at line end.Gravatar Gediminas Jakutis 2019-10-101-0/+1
| | | | | | Start doing the sane thing already... Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* compat: move the gettid macro to compat.h.Gravatar Gediminas Jakutis 2019-10-032-12/+4
| | | | | | New header, meant for various compatibility definitions and such. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: allow setting output stream(s).Gravatar Gediminas Jakutis 2019-10-031-0/+26
| | | | | | | Added a function to allow changing a channel's output stream. This also makes it possible to direct output to a file. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostics: add more prefixes.Gravatar Gediminas Jakutis 2019-10-012-5/+67
| | | | | | This also starts preparations for overhaul of this subsystem. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* meson: drop automake support && add initial meson support.Gravatar Gediminas Jakutis 2017-06-142-27/+10
|
* Initial commit - Release 0.0.1librin-0.0.1Gravatar Gediminas Jakutis 2015-03-033-0/+115