1 // Copyright (c) 2013 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.
5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_LOGGING_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_LOGGING_H_
10 #include "chrome/browser/drive/event_logger.h"
13 // Originally wanted to use 'logging' here, but it conflicts with
14 // base/logging.h, and breaks DCHECK() and friends.
17 // Logs a message using printf format.
18 // This function can be called from any thread.
20 logging::LogSeverity severity
, const char* format
, ...) PRINTF_FORMAT(2, 3);
22 // Returns the log history.
23 // This function can be called from any thread.
24 std::vector
<EventLogger::Event
> GetLogHistory();
29 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_LOGGING_H_