Stack panel to show debug logs on runtime GUI with regex pattern filter. More...
Inherits MonoBehaviour, and IStackPanel.
Public Member Functions | |
| GUIContent | GetPanelTitle () |
| Get the panel title with the regex pattern if exist. More... | |
| void | DrawTitleAddon () |
| Draw add-on GUI at the end of the title bar with the buttons to control listening. More... | |
| void | DrawPanelGUI () |
| Draw the panel content GUI, show logs in a scroll view below the setup box. More... | |
Static Public Member Functions | |
| static void | Clear () |
Clear stored logs and update all StackConsolePanel. More... | |
Public Attributes | |
| bool | listenOnAwake |
Flag if to start listening log when Awake(). More... | |
| int | view = 256 |
| GUI scroll view height, e.g., 46 to show 1 log, 256 as 6 logs. More... | |
| string | pattern = "" |
| The regex pattern to filter. More... | |
Static Public Attributes | |
| static int | logsLimit = 8190 |
| Stored logs limit to keep memory usage, unlimited by 0. More... | |
Properties | |
| static bool | isListening [get, set] |
| Flag if currently listening log callback. More... | |
Stack panel to show debug logs on runtime GUI with regex pattern filter.
|
static |
Clear stored logs and update all StackConsolePanel.
| GUIContent GetPanelTitle | ( | ) |
Get the panel title with the regex pattern if exist.
Implements IStackPanel.
| void DrawTitleAddon | ( | ) |
Draw add-on GUI at the end of the title bar with the buttons to control listening.
Implements IStackPanel.
| void DrawPanelGUI | ( | ) |
Draw the panel content GUI, show logs in a scroll view below the setup box.
Implements IStackPanel.
|
static |
Stored logs limit to keep memory usage, unlimited by 0.
| bool listenOnAwake |
Flag if to start listening log when Awake().
| int view = 256 |
GUI scroll view height, e.g., 46 to show 1 log, 256 as 6 logs.
| string pattern = "" |
The regex pattern to filter.
|
staticgetset |
Flag if currently listening log callback.