mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support reload log level/logfile/tank
This commit is contained in:
parent
f652c28485
commit
eda1ddc03d
8 changed files with 149 additions and 43 deletions
|
@ -38,15 +38,6 @@ int ISrsLog::initialize()
|
|||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
int ISrsLog::level()
|
||||
{
|
||||
return SrsLogLevel::Trace;
|
||||
}
|
||||
|
||||
void ISrsLog::set_level(int /*level*/)
|
||||
{
|
||||
}
|
||||
|
||||
void ISrsLog::verbose(const char* /*tag*/, int /*context_id*/, const char* /*fmt*/, ...)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -68,11 +68,6 @@ public:
|
|||
*/
|
||||
virtual int initialize();
|
||||
public:
|
||||
/**
|
||||
* defined in SrsLogLevel.
|
||||
*/
|
||||
virtual int level();
|
||||
virtual void set_level(int level);
|
||||
/**
|
||||
* log for verbose, very verbose information.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue