PEAR Manual
Prev |  | Next

# PEAR_Common::log()

PEAR_Common::log() -- Logging method

## Synopsis

    require_once 'PEAR/common.php';

```void` PEAR_Common::log` (int $level, string $msg)`

## Description

Logging method.

## Parameter

integer `$level`

  log level (0 is quiet, higher is noisier)

string `$msg`

  message to write to the log

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Common::infoFromTgzFile() | Up | PEAR_Common::mkDirHier()