Search Results for

    Show / Hide Table of Contents

    Class SqlScriptFluentMigratorLoggerProvider

    The base class for writing SQL scripts produced by the IMigrationGenerator implementations

    Inheritance
    Object
    SqlScriptFluentMigratorLoggerProvider
    LogFileFluentMigratorLoggerProvider
    Namespace: FluentMigrator.Runner.Logging
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public class SqlScriptFluentMigratorLoggerProvider : ILoggerProvider

    Constructors

    | Improve this Doc View Source

    SqlScriptFluentMigratorLoggerProvider(TextWriter, SqlScriptFluentMigratorLoggerOptions, Boolean)

    Initializes a new instance of the SqlScriptFluentMigratorLoggerProvider class.

    Declaration
    public SqlScriptFluentMigratorLoggerProvider(TextWriter output, SqlScriptFluentMigratorLoggerOptions options = null, bool disposeWriter = true)
    Parameters
    Type Name Description
    TextWriter output

    The writer to write the SQL script to

    SqlScriptFluentMigratorLoggerOptions options

    The log file logger options

    Boolean disposeWriter

    A value indicating whether the output writer should be disposed by this logger provider

    Methods

    | Improve this Doc View Source

    CreateLogger(String)

    Declaration
    public ILogger CreateLogger(string categoryName)
    Parameters
    Type Name Description
    String categoryName
    Returns
    Type Description
    ILogger
    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    • Improve this Doc
    • View Source
    In This Article
    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.