mirror of
https://github.com/Wessel/pikmin.git
synced 2026-07-17 14:04:18 +02:00
Added the log function to help TypeScript Users
This commit is contained in:
@@ -54,6 +54,10 @@ module.exports = class PikminInstance {
|
||||
Pikmin.loggers.set(this.name, this.__log__);
|
||||
}
|
||||
|
||||
log(transportName, msg, ...args) {
|
||||
this[transportName](msg, ...args)
|
||||
}
|
||||
|
||||
addTransport(transport, options = { autogen: false }) {
|
||||
const now = this._formatDate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user