| Index: include/AdblockPlus/DefaultLogSystem.h |
| =================================================================== |
| rename from include/AdblockPlus/DefaultErrorCallback.h |
| rename to include/AdblockPlus/DefaultLogSystem.h |
| --- a/include/AdblockPlus/DefaultErrorCallback.h |
| +++ b/include/AdblockPlus/DefaultLogSystem.h |
| @@ -10,23 +10,24 @@ |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| -#ifndef ADBLOCK_PLUS_DEFAULT_ERROR_CALLBACK_H |
| -#define ADBLOCK_PLUS_DEFAULT_ERROR_CALLBACK_H |
| +#ifndef ADBLOCK_PLUS_DEFAULT_LOG_SYSTEM_H |
| +#define ADBLOCK_PLUS_DEFAULT_LOG_SYSTEM_H |
| -#include "ErrorCallback.h" |
| +#include "LogSystem.h" |
| namespace AdblockPlus |
| { |
| - class DefaultErrorCallback : public ErrorCallback |
| + class DefaultLogSystem : public LogSystem |
| { |
| public: |
| - void operator()(const std::string& message); |
| + void operator()(LogLevel logLevel, const std::string& message, |
| + const std::string& source); |
| }; |
| } |
| #endif |