# Logger

class Logger extends Logger

## Methods

static Boolean
write(mixed $message, mixed $level = self::ERROR, string $channel = 'general')

Adds a log record at an arbitrary level.

static Logger
getLogger(string $channel)

Gets the current logger

## Details

###
at line 21
`static Boolean write(mixed $message, mixed $level = self::ERROR, string $channel = 'general')`

Adds a log record at an arbitrary level.

#### Parameters

mixed | $message | The log message
mixed | $level | The log level
string | $channel | The log channel

#### Return Value

Boolean | Whether the record has been processed

###
at line 62
`static Logger getLogger(string $channel)`

Gets the current logger

#### Parameters

string | $channel | The log channel

#### Return Value

Logger |