Search Results for

    Show / Hide Table of Contents

    Class FluentMigratorConsoleLoggerProvider

    The default FluentMigrator console output

    Inheritance
    object
    FluentMigratorConsoleLoggerProvider
    Implements
    ILoggerProvider
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Logging
    Assembly: FluentMigrator.Runner.dll
    Syntax
    public class FluentMigratorConsoleLoggerProvider : ILoggerProvider, IDisposable

    Constructors

    | Edit this page View Source

    FluentMigratorConsoleLoggerProvider(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 Source

    CreateLogger(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
    | Edit this page View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Implements

    ILoggerProvider
    IDisposable
    • Edit this page
    • View Source
    In this article
    • Constructors
      • FluentMigratorConsoleLoggerProvider(IOptions<FluentMigratorLoggerOptions>)
    • Methods
      • CreateLogger(string)
      • Dispose()
    • Implements
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.