| 439 | } |
| 440 | |
| 441 | String CompatLogger::GetHostStateString(const Host::Ptr& host) |
| 442 | { |
| 443 | if (host->GetState() != HostUp && !host->IsReachable()) |
| 444 | return "UNREACHABLE"; /* hardcoded compat state */ |
| 445 | |
| 446 | return Host::StateToString(host->GetState()); |
| 447 | } |
| 448 | |
| 449 | void CompatLogger::WriteLine(const String& line) |
| 450 | { |
nothing calls this directly
no test coverage detected