Documentation

Logger extends LoggerInterface

An interface defining a Logger

Tags
author

Jason Savell jsavell@library.tamu.edu

Table of Contents

Methods

setLogLevel()  : void
Sets the threshold for which log entries should actually get written to the log
warn()  : void

Methods

setLogLevel()

Sets the threshold for which log entries should actually get written to the log

public setLogLevel(int $logLevel) : void
Parameters
$logLevel : int

Range of 0-3, with 3 being the least verbose

warn()

public warn(string $message) : void

Use warning(...) instead Log a message that warns that something may be wrong with the application

Parameters
$message : string

The warning message


        
On this page

Search results