C# Класс UberLoggerEditorWindow, UberLogger

The console logging frontend. Pulls data from the UberLoggerEditor backend
Наследование: EditorWindow, UberLoggerEditor.ILoggerWindow
Показать файл Открыть проект

Открытые методы

Метод Описание
DrawLogDetails ( ) : void

The bottom of the panel - details of the selected log

DrawLogList ( float height ) : void

Draws the main log panel

Init ( ) : void
OnGUI ( ) : void
OnLogChange ( LogInfo, logInfo ) : void

Приватные методы

Метод Описание
ButtonClamped ( string text, GUIStyle style, Vector2 &size ) : bool
ClearSelectedMessage ( ) : void
DrawChannels ( ) : void

Draws the channel selector

DrawFilter ( ) : void
DrawToolbar ( ) : void

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

GetChannels ( ) : List
GetFrameSourceGUIContent ( LogStackFrame frame ) : GUIContent
GetIconForLog ( LogInfo, log ) : Texture2D
GetLogLineGUIContent ( UberLogger log, bool showTimes ) : GUIContent

Converts a given log element into a piece of gui content to be displayed

GetSourceForFrame ( LogStackFrame frame ) : string

If the frame has a valid filename, get the source string for the code around the frame This is cached, so we don't keep getting it.

JumpToSource ( LogStackFrame frame ) : void
LabelClamped ( string text, GUIStyle style, Vector2 &size ) : void
OnEnable ( ) : void
ResizeTopPane ( ) : void

Handles the split window stuff, somewhat bodgily

ShouldShowLog ( System regex, LogInfo, log ) : bool

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

ShowLogWindow ( ) : void
ToggleClamped ( bool state, GUIContent content, GUIStyle style, Vector2 &size ) : bool
ToggleClamped ( bool state, string text, GUIStyle style, Vector2 &size ) : bool
ToggleShowSource ( LogStackFrame frame ) : void

Описание методов

DrawLogDetails() публичный Метод

The bottom of the panel - details of the selected log
public DrawLogDetails ( ) : void
Результат void

DrawLogList() публичный Метод

Draws the main log panel
public DrawLogList ( float height ) : void
height float
Результат void

Init() публичный статический Метод

public static Init ( ) : void
Результат void

OnGUI() публичный Метод

public OnGUI ( ) : void
Результат void

OnLogChange() публичный Метод

public OnLogChange ( LogInfo, logInfo ) : void
logInfo LogInfo,
Результат void