(msg)
| 232 | * @param {string} msg |
| 233 | */ |
| 234 | export function trace(msg) { |
| 235 | TRACE_HANDLERS.forEach((cb) => { |
| 236 | try { |
| 237 | cb(msg) |
| 238 | } catch (e) { |
| 239 | if (console && console.log) { |
| 240 | console.log("Error handling trace", e) |
| 241 | } |
| 242 | } |
| 243 | }) |
| 244 | } |
| 245 | |
| 246 | |
| 247 | export function pad(val, len) { |
no outgoing calls
no test coverage detected