Logging

Configuration definition for the logger.

package

Default

Methods

Returns the minimum output level for logging.

getLevel() : string

Response

string

Returns the paths that determine where to store log files.

getPaths() : array<mixed,string>

phpDocumentor uses two types of log files to be able to sift through the logs more easily:

  • 'default', contains all logs as mentioned in the logging level in this object and
  • 'debug', contains debugging information that is exposed when debugging is enabled.

Response

array<mixed,string>

Sets the minimum output level for the logger.

setLevel(string $level) : void

Arguments

$level

string

Registers the paths that determine where to store log files.

setPaths(array<mixed,\string> $paths) : void
see \phpDocumentor\Configuration\Logging::getPaths()

for more information.

Arguments

$paths

array<mixed,\string>

Properties

the minimum output level for logging.

level : string
var

the minimum output level for logging.

Serializer\Type

("string")

Type(s)

string

the paths determining where to output log files.

paths : array<mixed,string>
var

the paths determining where to output log files.

Serializer\Type

("array")

Type(s)

array<mixed,string>