On Tue, Feb 19, 2013 at 5:17 PM, Vojtech Horky <[email protected]>wrote:

>
> However, I noticed that you have a lot of debugging prints there using
> plain printf for that. We have a simple logging system available [1]
> so you may consider using it instead. It offers printing at several
> verbosity levels and allows you to create hierarchical log-groups.
> Downside is that it prints the logs to the file instead of the screen
> (stdout) but it is trivial to change that in libc. Then, you would not
> need to pass the verbose flag to each of your functions.
>
> By the way, there is getopt implementation in libc which may simplify
> your arguments handling a bit.
>

I'll have a look at both logging system and getopt, thanks for helpful
suggestions.
Jana Rapava


> _______________________________________________
> HelenOS-devel mailing list
> [email protected]
> http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
>
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to