1 | // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 | // for details. All rights reserved. Use of this source code is governed by a |
3 | // BSD-style license that can be found in the LICENSE file. |
4 | |
5 | #include "platform/globals.h" |
6 | #if defined(HOST_OS_WINDOWS) |
7 | |
8 | #include "platform/syslog.h" |
9 | |
10 | #include <stdio.h> // NOLINT |
11 | |
12 | namespace dart { |
13 | |
14 | void Syslog::VPrint(const char* format, va_list args) { |
15 | vfprintf(stdout, format, args); |
16 | fflush(stdout); |
17 | } |
18 | |
19 | void Syslog::VPrintErr(const char* format, va_list args) { |
20 | vfprintf(stderr, format, args); |
21 | fflush(stderr); |
22 | } |
23 | |
24 | } // namespace dart |
25 | |
26 | #endif // defined(HOST_OS_WINDOWS) |
27 | |