# Titanium.API
The top-level API module, containing methods to output messages to the system log.
# Methods
# debug
Logs messages with a debug
severity-level.
Parameters
Name | Type | Description |
---|---|---|
message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Returns
- Type
- void
# error
Logs messages with an error
severity-level.
Parameters
Name | Type | Description |
---|---|---|
message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Returns
- Type
- void
# info
Logs messages with an info
severity-level.
Parameters
Name | Type | Description |
---|---|---|
message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Returns
- Type
- void
# log
Logs messages with the specified severity-level.
Parameters
Name | Type | Description |
---|---|---|
level | String | Log level. One of |
message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Returns
- Type
- void
# timestamp
Logs messages with a timestamp
severity-level, prefixed with a timestamp float number
representing the number of seconds since January 1st, 2001.
Parameters
Name | Type | Description |
---|---|---|
message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Returns
- Type
- void
# trace
Logs messages with a trace
severity-level.
Parameters
Name | Type | Description |
---|---|---|
message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Returns
- Type
- void
# warn
Logs messages with a warn
severity-level.
Parameters
Name | Type | Description |
---|---|---|
message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Returns
- Type
- void