Skip to content

Log

Description

This class outputs logs platform independent.

Methods

Type Name Langs
static void print |
static void verbose |
static void debug |
static void warn |
static void error |

Methods details

print

  • static void print(const char* text, ...)

Lua syntax:

  • void print(const char* text)

Print to output without label. In Android it assumes VERBOSE label.


verbose

  • static void verbose(const char* text, ...)

Lua syntax:

  • void verbose(const char* text)

Print to output with VERBOSE label.


debug

  • static void debug(const char* text, ...)

Lua syntax:

  • void debug(const char* text)

Print to output with DEBUG label.


warn

  • static void warn(const char* text, ...)

Lua syntax:

  • void warn(const char* text)

Print to output with WARN label.


error

  • static void error(const char* text, ...)

Lua syntax:

  • void error(const char* text)

Print to output with ERROR label.