yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00202
Re: log4cxx, logging
Václav Šmilauer said: (by the date of Mon, 16 Jul 2007 09:58:18 +0200)
> Don't remove log4cxx and don't say that nobody uses it, because I do.
>
> I don't care about encapsulated contexts; you can implement YadeLog and it
> can be used as backend: you would keep macro names (LOG_TRACE, LOG_DEBUG
> etc. in core/Logging.hpp) and define them differently depending on a
> compilation switch, just like we do with log4cxx now.
>
> I prefer some pre-cooked lib because you can develop more useful things
> otherwise (like documentation) -- you mentioned boost::logging once -- and
> it will be less buggy. I know you are the best programmer in the world, but
> your resources are limited.
oh. I was writing that too fast. Of course I prefer boost::log than
writing my own lib for that. I know better programmers than me ;-P
They are working on it, but currently it's not in boost yet. We will
see how things will turn out. I'll check what they have in boost
sandbox.
> And for selective logging from different classes, that is quite important
> IMO -- if I develop terahedra, I don't care about debugging info from clumps .
I see. Do you currently switch that on runtime, or on compile time?
--
Janek Kozicki |
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev
Follow ups
References