- Since:
- 1.0.0
- Source:
Members
(static) DEBUG_PREFIX :string
The prefix for the debug level message.
Type:
- string
- Since:
- 1.0.0
- Default Value:
'\x1b[2;37m[DEBUG]\x1b[0m'
- Source:
(static) DONE_PREFIX :string
The prefix for the done level message.
Type:
- string
- Since:
- 1.0.0
- Default Value:
'\x1b[92m[DONE]\x1b[0m'
- Source:
(static) ERROR_PREFIX :string
The prefix for the error level message.
Type:
- string
- Since:
- 1.0.0
- Default Value:
'\x1b[91m[ERROR]\x1b[0m'
- Source:
(static) INFO_PREFIX :string
The prefix for the info level message.
Type:
- string
- Since:
- 1.0.0
- Default Value:
'\x1b[96m[INFO]\x1b[0m'
- Source:
(static) WARNING_PREFIX :string
The prefix for the warning level message.
Type:
- string
- Since:
- 1.0.0
- Default Value:
'\x1b[93m[WARNING]\x1b[0m'
- Source:
Methods
(package, static) debug(msgopt) → {void}
The function to log the debug level message to the console.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string |
<optional> |
The message string to log. |
- Since:
- 1.0.0
- Source:
Returns:
- Type
- void
(package, static) done(msgopt) → {void}
The function to log the done level message to the console.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string |
<optional> |
The message string to log. |
- Since:
- 1.0.0
- Source:
Returns:
- Type
- void
(package, static) error(msgopt) → {void}
The function to log the error level message to the console.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string |
<optional> |
The message string to log. |
- Since:
- 1.0.0
- Source:
Returns:
- Type
- void
(package, static) info(msgopt)
The function to log the info level message to the console.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string |
<optional> |
The message string to log. |
- Since:
- 1.0.0
- Source:
(package, static) warn(msgopt) → {void}
The function to log the warning level message to the console.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string |
<optional> |
The message string to log. |
- Since:
- 1.0.0
- Source:
Returns:
- Type
- void