Class LogHelper
Defines the LogHelper.
Inheritance
System.Object
LogHelper
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: DatabaseConnector
Assembly: DatabaseConnector.dll
Syntax
public static class LogHelper
Properties
| Improve this Doc View SourceLogger
Gets or sets the logger to be used.
Declaration
public static ILogger Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger |
Methods
| Improve this Doc View SourceLogStdout()
Logs a line with 4 tabs and Stdout:.
Declaration
public static void LogStdout()
LogWithFiveTabs(String)
Logs the provided 'log' with 5 tabs in front.
Declaration
public static void LogWithFiveTabs(string log)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | log | The logSystem.String. |