Show / Hide Table of Contents

Class NpgsqlLogger

A generic interface for logging.

Inheritance
System.Object
NpgsqlLogger
Namespace: Npgsql.Logging
Assembly: Npgsql.dll
Syntax
public abstract class NpgsqlLogger : object

Methods

IsEnabled(NpgsqlLogLevel)

Declaration
public abstract bool IsEnabled(NpgsqlLogLevel level)
Parameters
Type Name Description
NpgsqlLogLevel level
Returns
Type Description
System.Boolean

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
System.Int32 connectorId
System.String msg
Exception exception
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX