# IRsLogHandler Interface Reference

Inherits IRsObject.

List of all members.

## Public Member Functions
HRESULT | AddLogEntry ([in] RtLogEntry logEntry)
HRESULT | Connect ()
HRESULT | Disconnect ()
## Properties
RtUlong * | HandlerId`[get]`
RtUlong | HandlerId`[set]`
RtLong * | LevelTreshold`[get]`

## Detailed Description

Logging handler interface used by IRsLogger to dispatch log messages.

## Member Function Documentation

HRESULT IRsLogHandler::AddLogEntry | ( | [in] RtLogEntry | logEntry | ) |

Appends a log entry to the log handler.

Parameters:

  | logEntry | [in] Log entry to add.

HRESULT IRsLogHandler::Connect | ( |  | ) |

Connects the log handler

HRESULT IRsLogHandler::Disconnect | ( |  | ) |

Disconnects the log handler

## Property Documentation

RtUlong* IRsLogHandler::HandlerId`[get]`

Retriever for HandlerId property, returns handler id.

Returns:
  pVal [out, retval] Returned handler id.

RtUlong IRsLogHandler::HandlerId`[set]`

Setter for HandlerId property, sets the handler id.

Parameters:

  | newVal | [in] New value of handler id.

RtLong* IRsLogHandler::LevelTreshold`[get]`

Retriever for LevelThreshold, returns current level threshold.

Returns:
  pVal [out, retval] Returned level.