Class RideLogSystem
Encapsulates ILoggers and writes to them. This class listens to Unity's Debug.Log callback and then writes to all its loggers. Unity's Debug.Log should be used because when clicking it in the console, you're brought directly to the log line. If Debug.log gets wrapped in a Ride function the debugging becomes harder because we jump to the wrapper function
Inherited Members
Namespace: Ride
Assembly: cs.temp.dll.dll
Syntax
public class RideLogSystem : RideSystemMonoBehaviour, ILogSystem, IRideSystem, IApiInject, IIdentity
Methods
Name | Description |
---|---|
Add(ILogger) | Add the logger to the list of active loggers. Whenever Log gets called, this logger will be written to |
AddLogger(ILogger) | Add the logger to the list of active loggers. Whenever Log gets called, this logger will be written to |
Awake() | |
Log(LogType, Object) | Logs the message to all loggers |
Log(Object) | Logs the message to all loggers |
LogError(Object) | Logs the error message to all loggers |
LogErrorFormat(String, Object[]) | Logs the error message to all loggers |
LogEvent(String, Object) | Uses for logging event data |
LogFormat(LogType, String, Object[]) | Logs the message to all loggers |
LogFormat(String, Object[]) | Logs the message to all loggers |
LogWarning(Object) | Logs the warning message to all loggers |
LogWarningFormat(String, Object[]) | Logs the warning message to all loggers |
Remove(ILogger) | Removes the logger from the list of loggers |
RemoveLogger(ILogger) | Removes the logger from the list of loggers |
Start() | |
Write(LogType, Object) | Logs the message to all loggers |
Write(Object) | Logs the message to all loggers |
Write(String) | Logs the message to all loggers |
WriteEventLogs(String, Object) | |
WriteFormatted(LogType, String, Object[]) | Logs the message to all loggers |
WriteFormatted(String, Object[]) | Logs the message to all loggers |