Class LogCollection
- Namespace
- CodeBase.DebugConsole
- Assembly
- 4Experience.Codebase.DebugConsole.dll
[Serializable]
public class LogCollection
- Inheritance
-
LogCollection
- Extension Methods
-
Fields
LIMIT_OF_LOGS_COUNTER
private const int LIMIT_OF_LOGS_COUNTER = 999
Field Value
- int
Properties
IndexOfLastDisplayed
private int IndexOfLastDisplayed { get; set; }
Property Value
- int
IsLogsCollectionVisible
private bool IsLogsCollectionVisible { get; set; }
Property Value
- bool
IsPaused
private bool IsPaused { get; set; }
Property Value
- bool
LogPoolSetup
private GameObjectPool LogPoolSetup { get; set; }
Property Value
- GameObjectPool
LogsCollection
private List<PoolableGameObject> LogsCollection { get; set; }
Property Value
- List<PoolableGameObject>
LogsCounterText
private TextMeshProUGUI LogsCounterText { get; set; }
Property Value
- TextMeshProUGUI
Methods
ClearLogsCollection()
public void ClearLogsCollection()
PauseLogCollection()
public void PauseLogCollection()
ReturnAllLogsToPool()
private void ReturnAllLogsToPool()
SetLogsCollectionVisibility(bool)
public void SetLogsCollectionVisibility(bool isVisible)
Parameters
isVisible bool
public void SpawnLog(string logString, string stackTrace, LogType type, Transform parentOfLogs, DebugConsoleController sourceConsoleController)
Parameters
logString string
stackTrace string
type LogType
parentOfLogs Transform
sourceConsoleController DebugConsoleController
UnpauseLogCollection()
public void UnpauseLogCollection()
UpdateLogsCounter()
private void UpdateLogsCounter()