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.155 -- Release Build+413cde858755f0bb404d155c12c70bc8c002b9e9
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