ILogFactory¶
-
interface
OCP\Log\ILogFactory¶ - Interface ILogFactory
Implemented by: OC\Log\LogFactorySource: lib/public/Log/ILogFactory.php#35
Methods¶
-
public
OCP\Log\ILogFactory::get($type)¶ Source: Parameters: - $type (string) - one of: file, errorlog, syslog, systemd
Returns: Since: 14.0.0
-
public
OCP\Log\ILogFactory::getCustomLogger($path)¶ Source: Parameters: - $path (string)
Returns: Since: 14.0.0
Deprecated: use \OCP\Log\ILogFactory::getCustomPsrLogger
See:
-
public
OCP\Log\ILogFactory::getCustomPsrLogger($path)¶ Source: Parameters: - $path (string)
Returns: \Psr\Log\LoggerInterfaceSince: 22.0.0