blob: a5821730d405fbe168660d6e2623ae03efcac6ef [file] [log] [blame] [edit]
// 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.
#ifndef SRC_DEVELOPER_DEBUG_SHARED_LOGGING_MACROS_H_
#define SRC_DEVELOPER_DEBUG_SHARED_LOGGING_MACROS_H_
// Simple macros to be used by the debug logging system.
// Join two tokens together.
// Useful for making unique names: STRINGIFY("foo", __LINE__) -> foo54.
#define STRINGIFY_INTERNAL(x, y) x##y
#define STRINGIFY(x, y) STRINGIFY_INTERNAL(x, y)
#endif // SRC_DEVELOPER_DEBUG_SHARED_LOGGING_MACROS_H_