// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef TOOLS_CDDL_LOGGING_H_ #define TOOLS_CDDL_LOGGING_H_ #include <stdio.h> #include <stdlib.h> #include <cstdlib> #include <iostream> #include <string> #include <utility> #define CHECK(condition) … #define CHECK_EQ(a, b) … #define CHECK_NE(a, b) … #define CHECK_LT(a, b) … #define CHECK_LE(a, b) … #define CHECK_GT(a, b) … #define CHECK_GE(a, b) … // TODO(crbug.com/openscreen/75): // #1: This class has no state, so it doesn't need to be a singleton, just // a collection of static functions. // // #2: Convert to stream oriented logging to clean up security warnings. class Logger { … }; #endif // TOOLS_CDDL_LOGGING_H_