On Wed, Mar 31, 2010 at 1:51 AM, Tyler Nielsen <tyler.niel...@gmail.com> wrote:

> I couldn't find NLOG, did you mean DLOG?

Yeah, that's the one. Was confused as the flag to turn it off was NDEBUG ;-).

> I can look making glog an optional
> library, if no one is planning on doing that.  One complaint I have about
> glog, I can't see a way to do category logging.  For example, if I only
> wanted to turn on logging in src/world, not everywhere.  It looks like we
> can do something ourselves using LOG_IF.  Am I the only one that cares
> though?

Could be useful, especially if we add more logging to the different
modules. As it seems, VLOG supports per source file logging, at least.
Maybe that's enough for a start? Otherwise, LOG_IF or a convenient
wrapper around that in base/logging.h should be no big deal.

As for making glog optional: perfect! :-). Still hope that future
versions will eventually work in a MinGW environment.

Kai


_______________________________________________
Adonthell-devel mailing list
Adonthell-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/adonthell-devel

Reply via email to