diff -r acc370d7f2f6 -r 2275db202402 DirectPrint/inc/logdef.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DirectPrint/inc/logdef.h Tue May 11 14:10:02 2010 +0800 @@ -0,0 +1,40 @@ +/* +* Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd. +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Kanrikogaku Kenkyusho, Ltd. - Initial contribution +* +* Contributors: +* +* Description: +* +*/ + + +// Protection against nested includes +#ifndef LOGDEF_H +#define LOGDEF_H + +//#define ENABLE_LOGGING +//#define LOG_TO_FILE + +/* +#ifdef _DEBUG +// logging is always enabled in debug builds +#define ENABLE_LOGGING +#else +// manually enable in release builds +//#define ENABLE_LOGGING +#endif // _DEBUG + +#define LOG_TO_FILE +*/ + +#endif // LOGDEF_H + +// End of File