(message: any, forceLog = true)
| 33 | * Errors are generally important, so we default forceLog to true |
| 34 | */ |
| 35 | export function error(message: any, forceLog = true): void { |
| 36 | if (isLoggingEnabled(forceLog)) { |
| 37 | console.error(message); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Wrapper for console.info that respects headless mode |
no test coverage detected