Initializes a new instance of the
ConsoleLogger class that logs only the specified categories of messages, filtered by log level.
![](../icons/collapse_all.gif)
Declaration Syntax
![](../icons/collapse_all.gif)
Parameters
- categories (array<
String
>[]()[])
- The categories to be logged. This identifies the type of messages being
logged or the component from which the message originates.
- level (LogLevels)
- The log filter level. Only messages with a log level that is at or above this value are logged.
Assembly:
DataSource.NET (Module: DataSource.NET) Version: 6.2.10.6412 (6.2.10.6412)