* Calls the log constructor with a given level function and suffix. * @param {function(number, boolean):!LogLevel_Enum} levelFunc * @param {string=} opt_suffix * @return {!Log}
(levelFunc, opt_suffix)
| 546 | * @return {!Log} |
| 547 | */ |
| 548 | function callLogConstructor(levelFunc, opt_suffix) { |
| 549 | if (!logConstructor) { |
| 550 | throw new Error('failed to call initLogConstructor'); |
| 551 | } |
| 552 | return new logConstructor(self, levelFunc, opt_suffix); |
| 553 | } |
| 554 | |
| 555 | /** |
| 556 | * Publisher level log. |
no outgoing calls
no test coverage detected