(...logs)
| 810 | } |
| 811 | |
| 812 | debug(...logs) { |
| 813 | if (this.logLevels[this.logLevel] <= this.logLevels.debug) { |
| 814 | if (logs.length > 0) { |
| 815 | this.logs = [...this.logs, ...logs] |
| 816 | } |
| 817 | console.log( |
| 818 | `${this.logLevelPrefixs.debug}${logs.map((l) => l ?? String(l)).join(this.logSeparator)}` |
| 819 | ) |
| 820 | } |
| 821 | } |
| 822 | |
| 823 | info(...logs) { |
| 824 | if (this.logLevels[this.logLevel] <= this.logLevels.info) { |