LinkMenuExpand(external link)DocumentSearchCopyCopied

NoOpLogger class

NoOpLogger is an implementation of IMySqlConnectorLogger that does nothing.

public sealed class NoOpLogger : IMySqlConnectorLogger

Public Members

NoOpLogger()The default constructor.
IsEnabled(…)Returns false.
Log(…)Ignores the specified log message.
static Instance { get; }Returns a singleton instance of NoOpLogger.


This is the default logging implementation unless Provider is set.

See Also