C# Class UberLoggerAppWindow, UberLogger

The in-app console logging frontend and backend
Inheritance: MonoBehaviour, UberLogger.ILogger
Datei anzeigen Open project: bbbscarter/UberLogger Class Usage Examples

Public Properties

Property Type Description
ButtonPosition Vector2
ButtonSize Vector2
ButtonTexture UnityEngine.Texture2D
ErrorButtonTexture UnityEngine.Texture2D
FontSize int
GUIColour Color
SizerLineColour Color
SizerStartHeightRatio float
Skin UnityEngine.GUISkin
SmallErrorIcon UnityEngine.Texture2D
SmallMessageIcon UnityEngine.Texture2D
SmallWarningIcon UnityEngine.Texture2D

Public Methods

Method Description
Clear ( ) : void
ClearSelectedMessage ( ) : void
DrawActivationButton ( ) : void
DrawChannels ( ) : void

Draws the channel selector

DrawFilter ( ) : void
DrawLogDetails ( ) : void

The bottom of the panel - details of the selected log

DrawLogList ( ) : void

Draws the main log panel

DrawToolbar ( ) : void

Draws the thin, Unity-style toolbar showing error counts and toggle buttons

DrawWindow ( int windowID ) : void

Draws the main window

LabelClamped ( string text, GUIStyle style ) : void
Log ( LogInfo, logInfo ) : void
OnGUI ( ) : void

Shows either the activation button or the full UI

Start ( ) : void

Private Methods

Method Description
ButtonClamped ( string text, GUIStyle style ) : bool
GetChannels ( ) : List
GetIconForLog ( LogInfo, log ) : Texture2D
ResizeTopPane ( ) : void
ShouldShowLog ( System regex, LogInfo, log ) : bool

Based on filter and channel selections, should this log be shown?

ToggleClamped ( bool state, GUIContent content, GUIStyle style ) : bool
ToggleClamped ( bool state, string text, GUIStyle style ) : bool

Method Details

Clear() public method

public Clear ( ) : void
return void

ClearSelectedMessage() public method

public ClearSelectedMessage ( ) : void
return void

DrawActivationButton() public method

public DrawActivationButton ( ) : void
return void

DrawChannels() public method

Draws the channel selector
public DrawChannels ( ) : void
return void

DrawFilter() public method

public DrawFilter ( ) : void
return void

DrawLogDetails() public method

The bottom of the panel - details of the selected log
public DrawLogDetails ( ) : void
return void

DrawLogList() public method

Draws the main log panel
public DrawLogList ( ) : void
return void

DrawToolbar() public method

Draws the thin, Unity-style toolbar showing error counts and toggle buttons
public DrawToolbar ( ) : void
return void

DrawWindow() public method

Draws the main window
public DrawWindow ( int windowID ) : void
windowID int
return void

LabelClamped() public method

public LabelClamped ( string text, GUIStyle style ) : void
text string
style GUIStyle
return void

Log() public method

public Log ( LogInfo, logInfo ) : void
logInfo LogInfo,
return void

OnGUI() public method

Shows either the activation button or the full UI
public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

ButtonPosition public_oe property

public Vector2 ButtonPosition
return Vector2

ButtonSize public_oe property

public Vector2 ButtonSize
return Vector2

ButtonTexture public_oe property

public Texture2D,UnityEngine ButtonTexture
return UnityEngine.Texture2D

ErrorButtonTexture public_oe property

public Texture2D,UnityEngine ErrorButtonTexture
return UnityEngine.Texture2D

FontSize public_oe property

public int FontSize
return int

GUIColour public_oe property

public Color GUIColour
return Color

SizerLineColour public_oe property

public Color SizerLineColour
return Color

SizerStartHeightRatio public_oe property

public float SizerStartHeightRatio
return float

Skin public_oe property

public GUISkin,UnityEngine Skin
return UnityEngine.GUISkin

SmallErrorIcon public_oe property

public Texture2D,UnityEngine SmallErrorIcon
return UnityEngine.Texture2D

SmallMessageIcon public_oe property

public Texture2D,UnityEngine SmallMessageIcon
return UnityEngine.Texture2D

SmallWarningIcon public_oe property

public Texture2D,UnityEngine SmallWarningIcon
return UnityEngine.Texture2D