$enc $enc : string Кодировка. Значения: 'windows-1251', 'utf-8'. Может быть изменено в config_init.php Type string
write() write(string $file, string $text, boolean $title = true) : NULL Запись в лог-файл Parameters string $file Имя файла string $text Данные boolean $title Добавлять стандартный заголовок Returns NULL
error() error(string $file, string $code, string $message = '', \Exception $exception = null) : NULL Сохранение ошибки (обертка над методом write) Parameters string $file Имя файла string $code Код ошибки string $message Текст ошибки \Exception $exception Исключение Returns NULL
errorDB() errorDB(string $code, string $message = '', \Exception $exception = null) : NULL Сохранение ошибки БД Parameters string $code Код ошибки string $message Текст ошибки \Exception $exception Исключение Returns NULL
errorSys() errorSys(string $code, string $message = '', \Exception $exception = null) : NULL Сохранение ошибки системного уровня Parameters string $code Код ошибки string $message Текст ошибки \Exception $exception Исключение Returns NULL
errorApp() errorApp(string $code, string $message = '', \Exception $exception = null) : NULL Сохранение ошибки прикладного уровня Parameters string $code Код ошибки string $message Текст ошибки \Exception $exception Исключение Returns NULL
getLogFileName() getLogFileName( $prefix = null) : string Создание имени лог-файла на основе текущего времени Parameters $prefix Returns string
debug() debug(mixed $data = null, string $file = null) : NULL Сохранение в лог-файл отладочной информации Parameters mixed $data Отладочные данные string $file Имя файла (в конфигурационном файле задано имя по-умолчанию) Returns NULL
notice() notice(string $text = null, mixed $data = null) : NULL Сохранение в лог-файл уведомления в случае обработанных ошибок Parameters string $text Текст уведомления mixed $data Данные Returns NULL