[mythtv-firehose] mythtv/new-logging commit: 0f50c515d by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Sun May 29 11:08:08 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-05-29T03:57:46-07:00
Push Date: 2011/05/29 04:08:06 -0700
Repository: mythtv
Branch: new-logging
New Revision: 0f50c515db6eb7ff8f68ff293406ed385885f190
Changeset: https://github.com/MythTV/mythtv/commit/0f50c515d
Log:
Cleanup use of LogPrintLine to use const
So the C part will compile with no warnings (as in the kerneldeint filter),
the message format must be const char *. Adjusted to this, and also for
filename and function. Fixed the variadic preprocessor part to use
##__VA_ARGS__ so if no extra args are there, it will swallow the preceeding
comma as well. This meant LogPrintLineNoArg could be gotten rid of.
Modified:
mythtv/libs/libmythbase/mythlogging.cpp
mythtv/libs/libmythbase/mythlogging.h
More information about the mythtv-firehose
mailing list