Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
PDebug Class Reference

Public Types

enum  DebugLevel : int {
  DebugLevel.None = 0, DebugLevel.Error = 1, DebugLevel.Warning = 2, DebugLevel.General = 4,
  DebugLevel.PartInit = 8, DebugLevel.FieldInit = 16, DebugLevel.ModuleLoader = 32, DebugLevel.PartLoader = 64,
  DebugLevel.GameSettings = 128, DebugLevel.ResourceNetwork = 256, DebugLevel.ConfigNode = 512, DebugLevel.GameDatabase = 1024,
  DebugLevel.Everything = 1073741823
}
 

Static Public Member Functions

static void Error (object msg)
 
static void General (object msg)
 
static void Log (object msg, DebugLevel level)
 
static void Log (object msg)
 
static void Warning (object msg)
 

Static Public Attributes

static DebugLevel debugLevel = DebugLevel.Error | DebugLevel.Warning | DebugLevel.General
 

Member Enumeration Documentation

enum PDebug.DebugLevel : int
Enumerator
None 
Error 
Warning 
General 
PartInit 
FieldInit 
ModuleLoader 
PartLoader 
GameSettings 
ResourceNetwork 
ConfigNode 
GameDatabase 
Everything 

Member Function Documentation

static void PDebug.Error ( object  msg)
inlinestatic
static void PDebug.General ( object  msg)
inlinestatic
static void PDebug.Log ( object  msg,
DebugLevel  level 
)
inlinestatic
static void PDebug.Log ( object  msg)
inlinestatic
static void PDebug.Warning ( object  msg)
inlinestatic

Member Data Documentation

DebugLevel PDebug.debugLevel = DebugLevel.Error | DebugLevel.Warning | DebugLevel.General
static

The documentation for this class was generated from the following file: