Initializes a new instance of the ConsoleLogger class that logs only the specified
categories of message for any log level.
Declaration Syntax
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.