Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsDebugImpl.cpp File Reference
#include "nsDebugImpl.h"
#include "nsDebug.h"
#include "prprf.h"
#include "prlog.h"
#include "prinit.h"
#include "plstr.h"
#include "nsError.h"
#include "prerror.h"
#include "prerr.h"

Go to the source code of this file.


static void InitLog (void)
NS_COM nsresult NS_ErrorAccordingToNSPR ()


static PRLogModuleInfogDebugLog
 Implementation of the nsDebug methods.

Function Documentation

static void InitLog ( void  ) [static]

Definition at line 146 of file nsDebugImpl.cpp.

  if (0 == gDebugLog) {
    gDebugLog = PR_NewLogModule("nsDebug");
    gDebugLog->level = PR_LOG_DEBUG;

Variable Documentation

Implementation of the nsDebug methods.

Note that this code is always compiled in, in case some other module that uses it is compiled with debugging even if this library is not.

Definition at line 144 of file nsDebugImpl.cpp.