Struct NetDebug
Singleton handling NetCode logging and log management.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct NetDebug : IComponentData, IQueryTypeParameter
Properties
Name | Description |
---|---|
Log |
The current debug logging level. Default value is Notify. |
Max |
A NetCode RPC will trigger a warning if it hasn't been consumed or destroyed (which is a proxy for 'handled') after this many simulation frames (inclusive). ReceiveRpcCommandRequest.Age. Set to 0 to opt out. |
Suppress |
If you disable run |
Methods
Name | Description |
---|---|
Debug |
Print the log message with Debug level priority; |
Dispose() | Destroy the internal resources allocated by the debug logger and flush any pending messages. |
Log(in Fixed |
Print a log message with Notify level priority; |
Log |
Print a log message with error priority |
Log |
Use this method to retrieve the platform specific folder where the NetCode logs files
will be stored.
On Desktop it use the console In all cases, if the log path is null or empty, the Logs folder in the current directory is used instead. |
Log |
Print a log message with warning priority |
Print |
Print an unsigned integer in hexadecimal format |
Print |
Print a unsigned long integer in hexadecimal format |