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" | 9 #include "src/base/platform/mutex.h" |
10 #include "src/flags.h" | 10 #include "src/flags.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // Buffer used for formatting log messages. This is a singleton buffer and | 127 // Buffer used for formatting log messages. This is a singleton buffer and |
128 // mutex_ should be acquired before using it. | 128 // mutex_ should be acquired before using it. |
129 char* message_buffer_; | 129 char* message_buffer_; |
130 | 130 |
131 Logger* logger_; | 131 Logger* logger_; |
132 | 132 |
133 friend class Logger; | 133 friend class Logger; |
134 }; | 134 }; |
135 | 135 |
136 | 136 |
137 } } // namespace v8::internal | 137 } // namespace internal |
| 138 } // namespace v8 |
138 | 139 |
139 #endif // V8_LOG_UTILS_H_ | 140 #endif // V8_LOG_UTILS_H_ |
OLD | NEW |