class Log extends AbstractEntity (View source)

Log Entity

Constants

EMERGENCY

CRITICAL

ALERT

ERROR

WARNING

NOTICE

INFO

DEBUG

LOG

Properties

protected $id from AbstractEntity
protected $user
protected $message
protected $level
protected $datetime
protected $nodeSource
protected $clientIp

Methods

int
getId()

No description

setId(int $id)

No description

__construct(mixed $level, string $message)

No description

getUser()

No description

Log
setUser(User $user)

No description

string
getMessage()

No description

integer
getLevel()

No description

getDatetime()

No description

getNodeSource()

Get log related node-source.

$this
setNodeSource(NodesSources $newnodeSource)

No description

string
getClientIp()

No description

string
setClientIp(string $clientIp)

No description

prePersist()

No description

Details

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

__construct(mixed $level, string $message)

Parameters

mixed $level
string $message

User getUser()

Return Value

User

Log setUser(User $user)

Parameters

User $user

Return Value

Log

string getMessage()

Return Value

string

integer getLevel()

Return Value

integer

DateTime getDatetime()

Return Value

DateTime

NodesSources getNodeSource()

Get log related node-source.

Return Value

NodesSources

$this setNodeSource(NodesSources $newnodeSource)

Parameters

NodesSources $newnodeSource

Return Value

$this

string getClientIp()

Return Value

string

string setClientIp(string $clientIp)

Parameters

string $clientIp

Return Value

string $clientIP

prePersist()