Nextcloud PHP API (master)

ILogFactory

Interface ILogFactory

Tags
since
14.0.0

Table of Contents

Methods

get()  : IWriter
getCustomPsrLogger()  : LoggerInterface

Methods

get()

public get(string $type) : IWriter
Parameters
$type : string
  • one of: file, errorlog, syslog, systemd
Tags
since
14.0.0
Return values
IWriter

getCustomPsrLogger()

public getCustomPsrLogger(string $path[, string $type = 'file' ][, string $tag = 'Nextcloud' ]) : LoggerInterface
Parameters
$path : string
$type : string = 'file'
$tag : string = 'Nextcloud'
Tags
since
22.0.0
  • Parameters $type and $tag were added in 24.0.0
Return values
LoggerInterface

        
On this page

Search results