| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium 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 // Defines the VLOG_IS_ON macro that controls the variable-verbosity | 5 // Defines the VLOG_IS_ON macro that controls the variable-verbosity |
| 6 // conditional logging. | 6 // conditional logging. |
| 7 // | 7 // |
| 8 // It's used by VLOG and VLOG_IF in logging.h | 8 // It's used by VLOG and VLOG_IF in logging.h |
| 9 // and by RAW_VLOG in raw_logging.h to trigger the logging. | 9 // and by RAW_VLOG in raw_logging.h to trigger the logging. |
| 10 // | 10 // |
| 11 // It can also be used directly e.g. like this: | 11 // It can also be used directly e.g. like this: |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 PREDICT_TRUE(SiteEpoch(site_copy) == GlobalEpoch()) ? | 134 PREDICT_TRUE(SiteEpoch(site_copy) == GlobalEpoch()) ? |
| 135 SiteLevel(site_copy) : InitVLOG(site, file); | 135 SiteLevel(site_copy) : InitVLOG(site, file); |
| 136 return (site_level == kUseFlag ? FLAGS_v : site_level) >= | 136 return (site_level == kUseFlag ? FLAGS_v : site_level) >= |
| 137 (level + FLAGS_silent_init); | 137 (level + FLAGS_silent_init); |
| 138 } | 138 } |
| 139 | 139 |
| 140 } // namespace internal | 140 } // namespace internal |
| 141 } // namespace base | 141 } // namespace base |
| 142 | 142 |
| 143 #endif // BASE_VLOG_IS_ON_H_ | 143 #endif // BASE_VLOG_IS_ON_H_ |
| OLD | NEW |