Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 BIN_LOG_H_ | |
| 6 #define BIN_LOG_H_ | |
| 7 | |
| 8 #include "bin/builtin.h" | |
|
Ivan Posva
2012/11/15 07:43:17
Why do you need to include builtin.h here? There a
gram
2012/11/15 21:16:50
Removed.
| |
| 9 | |
| 10 class Log { | |
| 11 public: | |
| 12 // Print formatted output to stdout/stderr for debugging. | |
| 13 static void Print(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); | |
| 14 static void PrintErr(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); | |
| 15 static void VFPrint(FILE* stream, const char* format, va_list args); | |
|
siva
2012/11/15 18:46:48
Does VFPrint need to be a public function?
I did
gram
2012/11/15 21:16:50
Done.
| |
| 16 }; | |
| 17 | |
| 18 #endif // BIN_LOG_H_ | |
| OLD | NEW |