Class WeaverLog
Used for logging to the console
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public static class WeaverLog
Methods
| Edit this page View SourceLog(object)
Logs an object to the console
Declaration
public static void Log(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to log |
Log(string)
Logs a message to the console
Declaration
public static void Log(string str)
Parameters
Type | Name | Description |
---|---|---|
string | str | The message to log |
LogError(object)
Logs an object to the console as an error
Declaration
public static void LogError(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to log |
LogError(string)
Logs an error to the console
Declaration
public static void LogError(string str)
Parameters
Type | Name | Description |
---|---|---|
string | str | The error to log |
LogException(Exception)
Logs an exception to the console
Declaration
public static void LogException(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception to log |
LogWarning(object)
Logs an object to the console as a warning
Declaration
public static void LogWarning(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to log |
LogWarning(string)
Logs a warning to the console
Declaration
public static void LogWarning(string str)
Parameters
Type | Name | Description |
---|---|---|
string | str | The warning to log |