Add ICU message format support
[chromium-blink-merge.git] / sdch / logging_forward.h
blobfc0d3278c187867fe05fb6d391c3c2a66374721a
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef SDCH_LOGGING_FORWARD_H_
6 #define SDCH_LOGGING_FORWARD_H_
8 // Define open-vcdiff's logging.h header guard, so that it doesn't get used.
9 #define OPEN_VCDIFF_LOGGING_H_
11 #include "base/logging.h"
13 // open-vcdiff's logging.h includes iostream, which adds static initializers
14 // to several compilation units. To prevent this, provide this replacement
15 // header which forwards open-vcdiffs logging macros to chromium's base logging
16 // mechanism.
17 #define VCD_WARNING LOG(WARNING)
18 #define VCD_ERROR LOG(ERROR)
19 #define VCD_DFATAL LOG(DFATAL)
20 #define VCD_ENDL "\n"
22 #endif // SDCH_LOGGING_FORWARD_H_