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.160 -- Release Build+be243f729b29892c480a7118a158cbdc9e45d5ee
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