OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_TEST_WEBDRIVER_WEBDRIVER_LOGGING_H_ |
| 6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_LOGGING_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace webdriver { |
| 11 |
| 12 // Initializes logging for WebDriver. All logging below the given level |
| 13 // will be discarded. |
| 14 void InitWebDriverLogging(int min_log_level); |
| 15 |
| 16 // Retrieves the current contents of the WebDriver log file. |
| 17 // Returns true on success. |
| 18 bool GetLogContents(std::string* log_contents); |
| 19 |
| 20 } // namespace webdriver |
| 21 |
| 22 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_LOGGING_H_ |
OLD | NEW |