(message?: any, extra?: Record<string, any>)
| 141 | } |
| 142 | }, |
| 143 | warn(message?: any, extra?: Record<string, any>) { |
| 144 | if (shouldLog("WARN")) { |
| 145 | write("WARN " + build(message, extra)) |
| 146 | } |
| 147 | }, |
| 148 | tag(key: string, value: string) { |
| 149 | if (tags) tags[key] = value |
| 150 | return result |