Logidav Docs

LogService
in package
implements LogServiceInterface

Class LogService

Table of Contents

Interfaces

LogServiceInterface

Properties

$container  : mixed
$logDirectory  : mixed
$logFileName  : string
$notifyDevelopmentTeam  : mixed

Methods

__construct()  : mixed
LogService constructor.
getLogDirectory()  : string
getLogFileName()  : string
getLogInstance()  : Logger
Log a message
isNotifyDevelopmentTeam()  : bool
notifyDevelopmentTeam()  : mixed
Notifying Axelites team about new bug
setLogDirectory()  : LogService
setLogFileName()  : LogService
setNotifyDevelopmentTeam()  : mixed

Properties

$container

protected mixed $container
Tags
@var

$container

$logDirectory

protected mixed $logDirectory = 'errors'
Tags
@var

$logFileName

protected string $logFileName = 'error'

$notifyDevelopmentTeam

protected mixed $notifyDevelopmentTeam = false

Methods

__construct()

LogService constructor.

public __construct(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

getLogDirectory()

public getLogDirectory() : string
Return values
string

getLogFileName()

public getLogFileName() : string
Return values
string

getLogInstance()

Log a message

public getLogInstance() : Logger
Tags
throws
Exception
Return values
Logger

isNotifyDevelopmentTeam()

public isNotifyDevelopmentTeam() : bool
Return values
bool

notifyDevelopmentTeam()

Notifying Axelites team about new bug

public notifyDevelopmentTeam(mixed $msg[, null $url = null ][, string $subject = 'New Bug in logidav' ]) : mixed
Parameters
$msg : mixed
$url : null = null
$subject : string = 'New Bug in logidav'

setNotifyDevelopmentTeam()

public setNotifyDevelopmentTeam(bool $notifyDevelopmentTeam) : mixed
Parameters
$notifyDevelopmentTeam : bool

        
On this page

Search results