Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Public Member Functions | List of all members
eZClusterEventLogger Interface Reference
Inheritance diagram for eZClusterEventLogger:

## Public Member Functions
| logError ( $errMsg, $context=null)

## Detailed Description

File containing the eZClusterEventLogger class

Copyright
  Copyright (C) eZ Systems AS. All rights reserved. @license For full copyright and license information view LICENSE file distributed with this source code.

Version
  //autogentag// Interface for eZClusterEvent loggers.

Cluster events can be used either inside Exponential (cache read/write, file handling...), but also through index_cluster.php in order to serve binary files. In the last case, the process should be as fast as possible and consume less resources as possible. Thus we should not include heavy dependencies on Exponential utility classes like eZDebug in order to log errors. This interface is to be implemented by classes dedicated to error logging, depending on context.

Definition at line 20 of file ezclustereventlogger.php.

## Member Function Documentation

## ◆ logError()

eZClusterEventLogger::logError | ( |  | $errMsg,
|  |  | $context = `null`
| ) |  |

Logs $errMsg.

Parameters

  string | $errMsg | Error message to be logged
  string | $context | Context where the error occurred

Returns
  void

Implemented in eZClusterEventLoggerPhp, and eZClusterEventLoggerEzdebug.

The documentation for this interface was generated from the following file:

- ezclustereventlogger.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.