Главная

api.log

Логирование

Methods

api.log.debug(text)
api.log.error(text)
api.log.info(text)
api.log.time(text)
api.log.trace(text)
api.log.warn(text)

Methods description

debug(text)

Записать отладочное сообщение

Parameters:
Name Type Description
text String

Текст

error(text)

Записать ошибку

Parameters:
Name Type Description
text String

Текст

info(text)

Записать информацию

Parameters:
Name Type Description
text String

Текст

time(text)

Записать время прошедшее с предыдущего вызова этой функции

Parameters:
Name Type Description
text String

Текст

trace(text)

Записать вызовы функций или кода

Parameters:
Name Type Description
text String

Текст

warn(text)

Записать предупреждение

Parameters:
Name Type Description
text String

Текст