blob: 474944d44735fe1e1aa6e3857176f3bc909e5f93 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/debug/zxdb/client/session_observer.h"
#include "src/lib/fxl/logging.h"
namespace zxdb {
const char* SessionObserver::NotificationTypeToString(NotificationType type) {
switch (type) {
case NotificationType::kError:
return "Error";
case NotificationType::kProcessStderr:
return "kProcessStderr";
case NotificationType::kProcessStdout:
return "kProcessStdout";
case NotificationType::kWarning:
return "Warning";
case NotificationType::kNone:
return "None";
}
FXL_NOTREACHED();
return nullptr;
}
} // namespace zxdb