PHP Class GELFMessage, gelf-php

Show file Open project: graylog2/gelf-php Class Usage Examples

Public Methods

Method Description
getAdditional ( $key ) : mixed
getFacility ( ) : string
getFile ( ) : string
getFullMessage ( ) : string
getHost ( ) : string
getLevel ( ) : integer
getLine ( ) : integer
getShortMessage ( ) : string
getTimestamp ( ) : integer
getVersion ( ) : string
setAdditional ( string $key, mixed $value ) : GELFMessage
setFacility ( string $facility ) : GELFMessage
setFile ( string $file ) : GELFMessage
setFullMessage ( string $fullMessage ) : GELFMessage
setHost ( string $host ) : GELFMessage
setLevel ( integer $level ) : GELFMessage
setLine ( integer $line ) : GELFMessage
setShortMessage ( string $shortMessage ) : GELFMessage
setTimestamp ( integer $timestamp ) : GELFMessage
setVersion ( string $version ) : GELFMessage
toArray ( ) : array

Method Details

getAdditional() public method

public getAdditional ( $key ) : mixed
return mixed

getFacility() public method

public getFacility ( ) : string
return string

getFile() public method

public getFile ( ) : string
return string

getFullMessage() public method

public getFullMessage ( ) : string
return string

getHost() public method

public getHost ( ) : string
return string

getLevel() public method

public getLevel ( ) : integer
return integer

getLine() public method

public getLine ( ) : integer
return integer

getShortMessage() public method

public getShortMessage ( ) : string
return string

getTimestamp() public method

public getTimestamp ( ) : integer
return integer

getVersion() public method

public getVersion ( ) : string
return string

setAdditional() public method

public setAdditional ( string $key, mixed $value ) : GELFMessage
$key string
$value mixed
return GELFMessage

setFacility() public method

public setFacility ( string $facility ) : GELFMessage
$facility string
return GELFMessage

setFile() public method

public setFile ( string $file ) : GELFMessage
$file string
return GELFMessage

setFullMessage() public method

public setFullMessage ( string $fullMessage ) : GELFMessage
$fullMessage string
return GELFMessage

setHost() public method

public setHost ( string $host ) : GELFMessage
$host string
return GELFMessage

setLevel() public method

public setLevel ( integer $level ) : GELFMessage
$level integer
return GELFMessage

setLine() public method

public setLine ( integer $line ) : GELFMessage
$line integer
return GELFMessage

setShortMessage() public method

public setShortMessage ( string $shortMessage ) : GELFMessage
$shortMessage string
return GELFMessage

setTimestamp() public method

public setTimestamp ( integer $timestamp ) : GELFMessage
$timestamp integer
return GELFMessage

setVersion() public method

public setVersion ( string $version ) : GELFMessage
$version string
return GELFMessage

toArray() public method

public toArray ( ) : array
return array