overwolf.log API
Provides logging functions that make use of Overwolf’s internal logging system.
OBSOLETE
The overwolf.log API is an historical API that would allow the app to write logs to the disk.
Since then, we've developed the feature of storing regular console.log/error/info calls to disk.
Simply console.log
and you can find the result written in %localappdata%\Overwolf\Log\Apps\
.
Methods Reference
- overwolf.log.verbose()
- overwolf.log.info()
- overwolf.log.warning()
- overwolf.log.error()
- overwolf.log.critical()
verbose(msg)
Version added: 0.78
Writes a verbose, debug level log message to the common log.
Parameter | Type | Description |
---|---|---|
msg | string | Message to write to the log file |
info(msg)
Version added: 0.78
Writes info level log message to the common log.
Parameter | Type | Description |
---|---|---|
msg | string | Message to write to the log file |
warning(msg)
Version added: 0.78
Writes warning level log message to the common log.
Parameter | Type | Description |
---|---|---|
msg | string | Message to write to the log file |
error(msg)
Version added: 0.78
Writes error level log message to the common log.
Parameter | Type | Description |
---|---|---|
msg | string | Message to write to the log file |
critical(msg)
Version added: 0.78
Writes critical level log message to the common log.
Parameter | Type | Description |
---|---|---|
msg | string | Message to write to the log file |