Skip to content

Commit

Permalink
Temporarily use std::cout instead of BLOG due to build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tmancey committed Jan 18, 2019
1 parent 7ee97e7 commit 7baad78
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 114 deletions.
12 changes: 0 additions & 12 deletions include/bat/confirmations/confirmations_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ enum CONFIRMATIONS_EXPORT Result {
FAILED
};

class CONFIRMATIONS_EXPORT LogStream {
public:
virtual ~LogStream() = default;
virtual std::ostream& stream() = 0;
};

using OnSaveCallback = std::function<void(const Result)>;
using OnLoadCallback = std::function<void(const Result, const std::string&)>;

Expand Down Expand Up @@ -64,12 +58,6 @@ class CONFIRMATIONS_EXPORT ConfirmationsClient {
// Should reset a previously saved value, i.e. remove the file from persistent
// storage
virtual void Reset(const std::string& name, OnResetCallback callback) = 0;

// Should log diagnostic information
virtual std::unique_ptr<LogStream> Log(
const char* file,
const int line,
const confirmations::LogLevel log_level) const = 0;
};

} // namespace confirmations
Expand Down
Loading

0 comments on commit 7baad78

Please sign in to comment.