Search Results for

    Show / Hide Table of Contents

    Class NpgsqlLogger

    A generic interface for logging.

    Inheritance
    Object
    NpgsqlLogger
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql.Logging
    Assembly: Npgsql.dll
    Syntax
    public abstract class NpgsqlLogger

    Methods

    | Improve this Doc

    IsEnabled(NpgsqlLogLevel)

    Declaration
    public abstract bool IsEnabled(NpgsqlLogLevel level)
    Parameters
    Type Name Description
    NpgsqlLogLevel level
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Log(NpgsqlLogLevel, Int32, String, Exception)

    Declaration
    public abstract void Log(NpgsqlLogLevel level, int connectorId, string msg, Exception exception = null)
    Parameters
    Type Name Description
    NpgsqlLogLevel level
    Int32 connectorId
    String msg
    Exception exception
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team