Add --verbosity=verbose log level

PR #2371 <https://github.com/Genymobile/scrcpy/pull/2371>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Marti Raudsepp
2021-06-17 22:40:30 +03:00
committed by Romain Vimont
parent 7db0189f23
commit 937fa704a6
6 changed files with 20 additions and 3 deletions

View File

@@ -41,6 +41,8 @@ print_version(void) {
static SDL_LogPriority
convert_log_level_to_sdl(enum sc_log_level level) {
switch (level) {
case SC_LOG_LEVEL_VERBOSE:
return SDL_LOG_PRIORITY_VERBOSE;
case SC_LOG_LEVEL_DEBUG:
return SDL_LOG_PRIORITY_DEBUG;
case SC_LOG_LEVEL_INFO: