Class NetworkLog
Helper class for logging
#
InheritanceSystem.Object
NetworkLog
#
Inherited MembersSystem.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
#
Namespace: Unity.Netcode#
Assembly: MLAPI.dll#
Syntax#
Properties#
CurrentLogLevelGets the current log level.
#
Declaration#
Property ValueType | Description |
---|---|
LogLevel | The current log level. |
#
Methods#
LogError(String)Locally logs a error log with Netcode prefixing.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
System.String | message | The message to log |
#
LogErrorServer(String)Logs an error log locally and on the server if possible.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
System.String | message | The message to log |
#
LogInfo(String)Locally logs a info log with Netcode prefixing.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
System.String | message | The message to log |
#
LogInfoServer(String)Logs an info log locally and on the server if possible.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
System.String | message | The message to log |
#
LogWarning(String)Locally logs a warning log with Netcode prefixing.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
System.String | message | The message to log |
#
LogWarningServer(String)Logs a warning log locally and on the server if possible.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
System.String | message | The message to log |