Class ConsoleLoggerProvider
Inheritance
System.Object
ConsoleLoggerProvider
Implements
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: MySqlConnector.Logging
Assembly: Azos.MySql.dll
Syntax
public class ConsoleLoggerProvider : IMySqlConnectorLoggerProvider
Constructors
ConsoleLoggerProvider(MySqlConnectorLogLevel, Boolean)
Declaration
public ConsoleLoggerProvider(MySqlConnectorLogLevel minimumLevel = MySqlConnectorLogLevel.Info, bool isColored = true)
Parameters
| Type | Name | Description |
|---|---|---|
| MySqlConnectorLogLevel | minimumLevel | |
| System.Boolean | isColored |
Methods
CreateLogger(String)
Declaration
public IMySqlConnectorLogger CreateLogger(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Returns
| Type | Description |
|---|---|
| IMySqlConnectorLogger |