# Class TSyslogMessage

Description | Hierarchy | Fields | Methods | Properties

## Unit

slogsend

## Declaration

`type TSyslogMessage = class(TObject)`

## Description

encoding or decoding of SYSLOG message

## Hierarchy

- TObject
- TSyslogMessage

## Overview

### Methods

| `procedure Clear;`

### Properties

| `property Facility: Byte read FFacility write FFacility;`
| `property Severity: TSyslogSeverity read FSeverity write FSeverity;`
| `property DateTime: TDateTime read FDateTime write FDateTime;`
| `property Tag: String read FTag write FTag;`
| `property LogMessage: String read FMessage write FMessage;`
| `property LocalIP: String read FLocalIP write FLocalIP;`
| `property PacketBuf: String read GetPacketBuf write SetPacketBuf;`

## Description

### Methods

| `procedure Clear;`

Reset values to defaults

### Properties

| `property Facility: Byte read FFacility write FFacility;`

Define facilicity of Syslog message. For specify you may use predefined FCL_* constants. Default is "FCL_Local0".

| `property Severity: TSyslogSeverity read FSeverity write FSeverity;`

Define possible priority of Syslog message. Default is "Debug".

| `property DateTime: TDateTime read FDateTime write FDateTime;`

date and time of Syslog message

| `property Tag: String read FTag write FTag;`

This is used for identify process of this message. Default is filename of your executable file.

| `property LogMessage: String read FMessage write FMessage;`

Text of your message for log.

| `property LocalIP: String read FLocalIP write FLocalIP;`

IP address of message sender.

| `property PacketBuf: String read GetPacketBuf write SetPacketBuf;`

This property holds encoded binary SYSLOG packet

Generated by PasDoc 0.9.0 on 2012-04-23 21:38:51