Beta version

class Log extends AbstractEntity

Log Entity

Constants

EMERGENCY

CRITICAL

ALERT

ERROR

WARNING

NOTICE

INFO

DEBUG

LOG

Methods

int
getId()

Get entity unique identifier.

setId(int $id)

No description

__construct(mixed $level, string $message)

No description

getUser()

No description

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

in AbstractEntity at line 51
int getId()

Get entity unique identifier.

Return Value

int

in AbstractEntity at line 60
AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

at line 61
__construct(mixed $level, string $message)

Parameters

mixed $level
string $message

at line 76
User getUser()

Return Value

User

at line 86
User setUser(User $user)

Parameters

User $user

Return Value

User

at line 101
string getMessage()

Return Value

string

at line 114
integer getLevel()

Return Value

integer

at line 127
DateTime getDatetime()

Return Value

DateTime

at line 143
NodesSources getNodeSource()

Get log related node-source.

Return Value

NodesSources

at line 152
$this setNodeSource(NodesSources $newnodeSource)

Parameters

NodesSources $newnodeSource

Return Value

$this

at line 167
string getClientIp()

Return Value

string

at line 177
string setClientIp(string $clientIp)

Parameters

string $clientIp

Return Value

string $clientIP

at line 187
prePersist()