Class FluentMigratorLoggingExtensions
Extension methods for ILoggerFactory and ILoggingBuilder
Inherited Members
Namespace: FluentMigrator.Runner
Assembly: FluentMigrator.Runner.dll
Syntax
public static class FluentMigratorLoggingExtensions
Methods
| Edit this page View SourceAddFluentMigratorConsole(ILoggerFactory)
Adds the default FluentMigrator console logger
Declaration
public static ILoggerFactory AddFluentMigratorConsole(this ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
ILoggerFactory | loggerFactory | The logger factory |
Returns
Type | Description |
---|---|
ILoggerFactory | The same logger factory |
AddFluentMigratorConsole(ILoggerFactory, FluentMigratorLoggerOptions)
Adds the default FluentMigrator console logger
Declaration
public static ILoggerFactory AddFluentMigratorConsole(this ILoggerFactory loggerFactory, FluentMigratorLoggerOptions options)
Parameters
Type | Name | Description |
---|---|---|
ILoggerFactory | loggerFactory | The logger factory |
FluentMigratorLoggerOptions | options | The logger options |
Returns
Type | Description |
---|---|
ILoggerFactory | The same logger factory |
AddFluentMigratorConsole(ILoggingBuilder)
Adds the default FluentMigrator console logger
Declaration
public static ILoggingBuilder AddFluentMigratorConsole(this ILoggingBuilder loggingBuilder)
Parameters
Type | Name | Description |
---|---|---|
ILoggingBuilder | loggingBuilder | The logging builder |
Returns
Type | Description |
---|---|
ILoggingBuilder | The same logging builder |