(level, s)
| 2633 | } |
| 2634 | Debug.shouldLog = shouldLog; |
| 2635 | function logMessage(level, s) { |
| 2636 | if (Debug.loggingHost && shouldLog(level)) { |
| 2637 | Debug.loggingHost.log(level, s); |
| 2638 | } |
| 2639 | } |
| 2640 | function log(s) { |
| 2641 | logMessage(LogLevel.Info, s); |
| 2642 | } |