(...logs)
| 821 | } |
| 822 | |
| 823 | info(...logs) { |
| 824 | if (this.logLevels[this.logLevel] <= this.logLevels.info) { |
| 825 | if (logs.length > 0) { |
| 826 | this.logs = [...this.logs, ...logs] |
| 827 | } |
| 828 | console.log( |
| 829 | `${this.logLevelPrefixs.info}${logs.map((l) => l ?? String(l)).join(this.logSeparator)}` |
| 830 | ) |
| 831 | } |
| 832 | } |
| 833 | |
| 834 | warn(...logs) { |
| 835 | if (this.logLevels[this.logLevel] <= this.logLevels.warn) { |