Gemstone Diagnostics Library
Show/Hide TOC

# DiagnosticsLoggerProviderCreateLogger Method

Creates a new ILogger instance.

## Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.159 -- Release Build+4c4b59bd26594faae24027f93140de44748dfe1d
C#
View Source Request Example

    public ILogger CreateLogger(
    	string categoryName
    )

VB
View Source Request Example

    Public Function CreateLogger (
    	categoryName As String
    ) As ILogger

C++
View Source Request Example

    public:
    virtual ILogger^ CreateLogger(
    	String^ categoryName
    ) sealed

JavaScript
View Source Request Example

    function CreateLogger(categoryName);

#### Parameters

categoryName String
  The category name for messages produced by the logger.

#### Return Value

ILogger
The instance of ILogger that was created.

#### Implements

ILoggerProviderCreateLogger(String)

## See Also

#### Reference

DiagnosticsLoggerProvider Class
Gemstone.Diagnostics Namespace