Class NpgsqlLogManager
Manages logging for Npgsql, used to set the logging provider.
Inherited Members
Namespace: Npgsql.Logging
Assembly: Npgsql.dll
Syntax
public static class NpgsqlLogManager
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 |
---|---|
Boolean |
Provider
The logging provider used for logging in Npgsql.
Declaration
public static INpgsqlLoggingProvider Provider { get; set; }
Property Value
Type | Description |
---|---|
INpgsqlLoggingProvider |