1cedee4b38f4786845183be7f5916dd520a170ae0Shih-wei Liao//===- Log.h --------------------------------------------------------------===//
2affc150dc44fab1911775a49636d0ce85333b634Zonr Chang//
3affc150dc44fab1911775a49636d0ce85333b634Zonr Chang//                     The MCLinker Project
4affc150dc44fab1911775a49636d0ce85333b634Zonr Chang//
5affc150dc44fab1911775a49636d0ce85333b634Zonr Chang// This file is distributed under the University of Illinois Open Source
6affc150dc44fab1911775a49636d0ce85333b634Zonr Chang// License. See LICENSE.TXT for details.
7affc150dc44fab1911775a49636d0ce85333b634Zonr Chang//
8affc150dc44fab1911775a49636d0ce85333b634Zonr Chang//===----------------------------------------------------------------------===//
9affc150dc44fab1911775a49636d0ce85333b634Zonr Chang
10cedee4b38f4786845183be7f5916dd520a170ae0Shih-wei Liao#ifndef ALONE_SUPPORT_LOG_H
11cedee4b38f4786845183be7f5916dd520a170ae0Shih-wei Liao#define ALONE_SUPPORT_LOG_H
12affc150dc44fab1911775a49636d0ce85333b634Zonr Chang
13cedee4b38f4786845183be7f5916dd520a170ae0Shih-wei Liao#include <cstdio>
14affc150dc44fab1911775a49636d0ce85333b634Zonr Chang
15cedee4b38f4786845183be7f5916dd520a170ae0Shih-wei Liao#define ALOGE(fmt, args...) \
16cedee4b38f4786845183be7f5916dd520a170ae0Shih-wei Liaoprintf("%s:%s:%d: "fmt, __FILE__, __FUNCTION__, __LINE__, args)
17affc150dc44fab1911775a49636d0ce85333b634Zonr Chang
18cedee4b38f4786845183be7f5916dd520a170ae0Shih-wei Liao#endif // ALONE_SUPPORT_LOG_H
19