OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_LOG_UTILS_H_ | 5 #ifndef V8_LOG_UTILS_H_ |
6 #define V8_LOG_UTILS_H_ | 6 #define V8_LOG_UTILS_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/base/platform/mutex.h" |
| 10 #include "src/flags.h" |
9 | 11 |
10 namespace v8 { | 12 namespace v8 { |
11 namespace internal { | 13 namespace internal { |
12 | 14 |
13 class Logger; | 15 class Logger; |
14 | 16 |
15 // Functions and data for performing output of log messages. | 17 // Functions and data for performing output of log messages. |
16 class Log { | 18 class Log { |
17 public: | 19 public: |
18 // Performs process-wide initialization. | 20 // Performs process-wide initialization. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 130 |
129 Logger* logger_; | 131 Logger* logger_; |
130 | 132 |
131 friend class Logger; | 133 friend class Logger; |
132 }; | 134 }; |
133 | 135 |
134 | 136 |
135 } } // namespace v8::internal | 137 } } // namespace v8::internal |
136 | 138 |
137 #endif // V8_LOG_UTILS_H_ | 139 #endif // V8_LOG_UTILS_H_ |
OLD | NEW |