mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add log
This commit is contained in:
parent
7268dd15a1
commit
67d96fcab4
6 changed files with 153 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include <srs_core_log.hpp>
|
||||
|
||||
int main(int /*argc*/, char** /*argv*/){
|
||||
log_context->SetId();
|
||||
|
||||
SrsWarn("server start");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue