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.153 -- Release Build+fa0e151d8a25503390adf70b28768341a285f26d
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