Class FluentMigratorConsoleLoggerProvider
The default FluentMigrator console output
Inherited Members
Namespace: FluentMigrator.Runner.Logging
Assembly: FluentMigrator.Runner.dll
Syntax
public class FluentMigratorConsoleLoggerProvider : ILoggerProvider, IDisposable
Constructors
| Edit this page View SourceFluentMigratorConsoleLoggerProvider(IOptions<FluentMigratorLoggerOptions>)
Initializes a new instance of the FluentMigratorConsoleLoggerProvider class.
Declaration
public FluentMigratorConsoleLoggerProvider(IOptions<FluentMigratorLoggerOptions> options)
Parameters
Type | Name | Description |
---|---|---|
IOptions<FluentMigratorLoggerOptions> | options | The logger options |
Methods
| Edit this page View SourceCreateLogger(string)
Creates a new ILogger instance.
Declaration
public ILogger CreateLogger(string categoryName)
Parameters
Type | Name | Description |
---|---|---|
string | categoryName | The category name for messages produced by the logger. |
Returns
Type | Description |
---|---|
ILogger |
Dispose()
Declaration
public void Dispose()