Constructor
# new Log(component)
Parameters:
Name | Type | Description |
---|---|---|
component |
string | The component's name |
Methods
# log(msg, prefix)
Produce logging output
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | Data to be logged |
prefix |
string | Optional, for additional descriptive information |