Class NetworkManagerExtensions
Inheritance
System.Object
NetworkManagerExtensions
Inherited Members
System.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: FishNet.Managing
Assembly: FishNet.Runtime.dll
Syntax
public static class NetworkManagerExtensions
Methods
CanLog(LoggingType)
True if can log for loggingType.
Declaration
public static bool CanLog(LoggingType lt)
Parameters
Type | Name | Description |
---|---|---|
LoggingType | lt |
Returns
Type | Description |
---|---|
System.Boolean |
Log(NetworkManager, LoggingType, String)
Performs a log using the loggingType, should logging settings permit it.
Declaration
public static void Log(this NetworkManager networkManager, LoggingType loggingType, string value)
Parameters
Type | Name | Description |
---|---|---|
NetworkManager | networkManager | |
LoggingType | loggingType | |
System.String | value |
Log(NetworkManager, String)
Performs a common log, should logging settings permit it.
Declaration
public static void Log(this NetworkManager networkManager, string message)
Parameters
Type | Name | Description |
---|---|---|
NetworkManager | networkManager | |
System.String | message |
Log(String)
Performs a common log, should logging settings permit it.
Declaration
public static void Log(string msg)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg |
LogError(NetworkManager, String)
Performs an error log, should logging settings permit it.
Declaration
public static void LogError(this NetworkManager networkManager, string message)
Parameters
Type | Name | Description |
---|---|---|
NetworkManager | networkManager | |
System.String | message |
LogError(String)
Performs an error log, should logging settings permit it.
Declaration
public static void LogError(string msg)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg |
LogWarning(NetworkManager, String)
Performs a warning log, should logging settings permit it.
Declaration
public static void LogWarning(this NetworkManager networkManager, string message)
Parameters
Type | Name | Description |
---|---|---|
NetworkManager | networkManager | |
System.String | message |
LogWarning(String)
Performs a warning log, should logging settings permit it.
Declaration
public static void LogWarning(string msg)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg |