Class MySqlLogger
Provides the capability to write a log.
Implements
System.IDisposable
Assembly: MySql.Data.EntityFramework.dll
Version: 8.4.0
Syntax
public class MySqlLogger : TextWriter, IAsyncDisposable, IDisposable
Constructors
MySqlLogger(Action<String>)
Declaration
public MySqlLogger(Action<string> action)
Parameters
Type |
Name |
Description |
System.Action<String> |
action |
|
Properties
Encoding
Declaration
public override Encoding Encoding { get; }
Property Value
Type |
Description |
System.Text.Encoding |
|
Overrides
Methods
Logger(String, Boolean)
Declaration
public static StreamWriter Logger(string logPath, bool append)
Parameters
Returns
Write(Char[], Int32, Int32)
Declaration
public override void Write(char[] buffer, int index, int count)
Parameters
Overrides
System.IO.TextWriter.Write(System.Char[], System.Int32, System.Int32)
Write(String)
Declaration
public override void Write(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
Overrides
Implements
System.IDisposable