Show / Hide Table of Contents

Class NpgsqlLogManager

Manages logging for Npgsql, used to set the loggging provider.

Inheritance
System.Object
NpgsqlLogManager
Namespace: Npgsql.Logging
Assembly: Npgsql.dll
Syntax
public static class NpgsqlLogManager : object

Properties

IsParameterLoggingEnabled

Determines whether parameter contents will be logged alongside SQL statements - this may reveal sensitive information. Defaults to false.

Declaration
public static bool IsParameterLoggingEnabled { get; set; }
Property Value
Type Description
System.Boolean

Provider

The logging provider used for logging in Npgsql.

Declaration
public static INpgsqlLoggingProvider Provider { get; set; }
Property Value
Type Description
INpgsqlLoggingProvider
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX