VBoxVideoLog.h revision 3c5c04d7b0973be0757addef8ba44b9352b38386
/* $Id$ */
/** @file
* VBox Video drivers, logging helper
*/
/*
* Copyright (C) 2011 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef VBOXVIDEOLOG_H
#define VBOXVIDEOLOG_H
#ifndef VBOX_VIDEO_LOG_NAME
#endif
/*#define VBOX_VIDEO_LOG_SHOWLINEINFO*/
#ifdef VBOX_VIDEO_LOG_SHOWLINEINFO
# define VBOX_VIDEO_LOG_SUFFIX_FMT " (%s:%d)\n"
#else
# define VBOX_VIDEO_LOG_SUFFIX_FMT "\n"
# define VBOX_VIDEO_LOG_SUFFIX_PARMS
#endif
#ifdef DEBUG_misha
# define BP_WARN() AssertFailed()
#else
# define BP_WARN() do {} while(0)
#endif
do \
{ \
} while (0)
do \
{ \
} while (0)
do \
{ \
} while (0)
do \
{ \
BP_WARN(); \
} while (0)
#endif /*VBOXVIDEOLOG_H*/