Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
syslog.h
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#ifndef RUNTIME_PLATFORM_SYSLOG_H_
6#define RUNTIME_PLATFORM_SYSLOG_H_
7
8#include <stdarg.h>
9
10#include "platform/globals.h"
11
12namespace dart {
13
14class Syslog {
15 public:
16 // Print formatted output for debugging.
17 static void Print(const char* format, ...) PRINTF_ATTRIBUTE(1, 2) {
18 va_list args;
22 }
23
24 static void VPrint(const char* format, va_list args);
25
26 static void PrintErr(const char* format, ...) PRINTF_ATTRIBUTE(1, 2) {
27 va_list args;
31 }
32
33 static void VPrintErr(const char* format, va_list args);
34
35 private:
36 DISALLOW_ALLOCATION();
38};
39
40} // namespace dart
41
42#endif // RUNTIME_PLATFORM_SYSLOG_H_
static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
static void va_start(args, format)
static void VPrintErr(const char *format, va_list args)
VPrintErr(format, args)
static void VPrint(const char *format, va_list args)
VPrint(format, args)
static void Print(const char *format,...) PRINTF_ATTRIBUTE(1
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
uint32_t uint32_t * format
#define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)
Definition globals.h:593
#define PRINTF_ATTRIBUTE(string_index, first_to_check)
Definition globals.h:697