1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refactor ISrsContext and ISrsLog

This commit is contained in:
winlin 2020-06-25 13:14:59 +08:00
parent 2948b90f43
commit 81d2e10f65
11 changed files with 47 additions and 115 deletions

View file

@ -23,8 +23,6 @@
#include <srs_kernel_log.hpp>
#include <srs_kernel_error.hpp>
ISrsLog::ISrsLog()
{
}
@ -33,56 +31,12 @@ ISrsLog::~ISrsLog()
{
}
srs_error_t ISrsLog::initialize()
{
return srs_success;
}
void ISrsLog::reopen()
ISrsContext::ISrsContext()
{
}
void ISrsLog::verbose(const char* /*tag*/, const char* /*context_id*/, const char* /*fmt*/, ...)
ISrsContext::~ISrsContext()
{
}
void ISrsLog::info(const char* /*tag*/, const char* /*context_id*/, const char* /*fmt*/, ...)
{
}
void ISrsLog::trace(const char* /*tag*/, const char* /*context_id*/, const char* /*fmt*/, ...)
{
}
void ISrsLog::warn(const char* /*tag*/, const char* /*context_id*/, const char* /*fmt*/, ...)
{
}
void ISrsLog::error(const char* /*tag*/, const char* /*context_id*/, const char* /*fmt*/, ...)
{
}
ISrsThreadContext::ISrsThreadContext()
{
}
ISrsThreadContext::~ISrsThreadContext()
{
}
std::string ISrsThreadContext::generate_id()
{
return "";
}
std::string ISrsThreadContext::get_id()
{
return "";
}
std::string ISrsThreadContext::set_id(std::string /*v*/)
{
return "";
}