Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
1.3 KiB

//+-----------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (c) Microsoft Corporation
//
// File: kpdebug.cxx
//
// Contents: debugging routines
//
// History: 10-Jul-2001 t-ryanj Created
//
//------------------------------------------------------------------------
#include "kpdebug.h"
#ifdef DBG
DEBUG_KEY KerbProxyDebugKeys[] = { { DEB_ERROR, "Error" },
{ DEB_WARN, "Warn" },
{ DEB_TRACE, "Trace" },
{ DEB_PEDANTIC, "Pedantic" },
{ 0, NULL } };
DEFINE_DEBUG2(KerbProxy);
//+-------------------------------------------------------------------------
//
// Function: KpInitDebug
//
// Synopsis: Initializes debugging resources and sets the default debug
// level.
//
// Effects:
//
// Arguments:
//
// Requires:
//
// Returns:
//
// Notes:
//
//
//--------------------------------------------------------------------------
VOID
KpInitDebug(
VOID
)
{
//
// Set the default debug level.
// TODO: Eventually, this should be read from the registry somewhere.
//
KerbProxyInitDebug( KerbProxyDebugKeys );
KerbProxyInfoLevel = DEB_TRACE | DEB_ERROR | DEB_WARN;
}
#endif // DBG