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.164 -- Release Build+66e15837b98af4c1fb6071887ad7ac5cf1ff0b00
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