Index: src/log-utils.h |
diff --git a/src/log-utils.h b/src/log-utils.h |
index c4995402cad6dc6a4e771dc84746764e222fda29..c0b863f16c0b7681856dcba14211dd754ee4b022 100644 |
--- a/src/log-utils.h |
+++ b/src/log-utils.h |
@@ -39,7 +39,7 @@ class Logger; |
class Log { |
public: |
// Performs process-wide initialization. |
- void Initialize(); |
+ void Initialize(const char* log_file_name); |
// Disables logging, but preserves acquired resources. |
void stop() { is_stopped_ = true; } |
@@ -66,6 +66,7 @@ class Log { |
// This mode is only used in tests, as temporary files are automatically |
// deleted on close and thus can't be accessed afterwards. |
static const char* const kLogToTemporaryFile; |
+ static const char* const kLogToConsole; |
private: |
explicit Log(Logger* logger); |
@@ -96,9 +97,6 @@ class Log { |
// destination. mutex_ should be acquired before using output_handle_. |
FILE* output_handle_; |
- // Used when low-level profiling is active. |
- FILE* ll_output_handle_; |
- |
// mutex_ is a Mutex used for enforcing exclusive |
// access to the formatting buffer and the log file or log memory buffer. |
Mutex* mutex_; |