|
|
@ -1,5 +1,5 @@
|
|
|
|
#ifndef LLARP_UTIL_OSTREAM_LOGGER_HPP
|
|
|
|
#ifndef LLARP_UTIL_ANDROID_LOGGER_HPP
|
|
|
|
#define LLARP_UTIL_OSTREAM_LOGGER_HPP
|
|
|
|
#define LLARP_UTIL_ANDROID_LOGGER_HPP
|
|
|
|
|
|
|
|
|
|
|
|
#include <util/logstream.hpp>
|
|
|
|
#include <util/logstream.hpp>
|
|
|
|
#include <iostream>
|
|
|
|
#include <iostream>
|
|
|
@ -10,13 +10,13 @@ namespace llarp
|
|
|
|
{
|
|
|
|
{
|
|
|
|
void
|
|
|
|
void
|
|
|
|
PreLog(std::stringstream& s, LogLevel lvl, const char* fname,
|
|
|
|
PreLog(std::stringstream& s, LogLevel lvl, const char* fname,
|
|
|
|
int lineno) const override;
|
|
|
|
int lineno, const std::string& nodename) const override;
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
Log(LogLevel lvl, const std::string& msg) override;
|
|
|
|
Print(LogLevel lvl,const char* filename, const std::string& msg) override;
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
PostLog(std::stringstream&) const override{};
|
|
|
|
PostLog(std::stringstream&) const override;
|
|
|
|
|
|
|
|
|
|
|
|
void Tick(llarp_time_t) override;
|
|
|
|
void Tick(llarp_time_t) override;
|
|
|
|
};
|
|
|
|
};
|
|
|
|