(message?: any, extra?: Record<string, any>)
| 131 | } |
| 132 | }, |
| 133 | info(message?: any, extra?: Record<string, any>) { |
| 134 | if (shouldLog("INFO")) { |
| 135 | write("INFO " + build(message, extra)) |
| 136 | } |
| 137 | }, |
| 138 | error(message?: any, extra?: Record<string, any>) { |
| 139 | if (shouldLog("ERROR")) { |
| 140 | write("ERROR " + build(message, extra)) |