[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Adonthell-devel] glog portability issues
From: |
Kai Sterker |
Subject: |
Re: [Adonthell-devel] glog portability issues |
Date: |
Wed, 31 Mar 2010 12:07:41 +0200 |
On Wed, Mar 31, 2010 at 1:51 AM, Tyler Nielsen <address@hidden> 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