aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagnostic/diagnostic.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-121-34/+124
| | | | | | 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-241-9/+13
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: print time since program start instead.Gravatar Gediminas Jakutis 2019-10-241-12/+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-031-1/+2
| | | | | | 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-011-5/+53
| | | | | | This also starts preparations for overhaul of this subsystem. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* Initial commit - Release 0.0.1librin-0.0.1Gravatar Gediminas Jakutis 2015-03-031-0/+59