Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
syslog_win.cc
Go to the documentation of this file.
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(DART_HOST_OS_WINDOWS)
7
8#include "platform/syslog.h"
9
10#include <stdio.h> // NOLINT
11
12namespace dart {
13
14void Syslog::VPrint(const char* format, va_list args) {
15 vfprintf(stdout, format, args);
16 fflush(stdout);
17}
18
19void 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(DART_HOST_OS_WINDOWS)
VPrintErr(format, args)
VPrint(format, args)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
uint32_t uint32_t * format