[Android] Implement abstract method Verbose()

Romain Vimont git at videolan.org
Mon May 6 17:33:43 CEST 2019


vlc-android | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon May  6 17:22:51 2019 +0200| [06bb1dfbcc10b0b4eef8dd00d3a8c3ee815bb00e] | committer: Romain Vimont

Implement abstract method Verbose()

In medialibrary, commit dbdb42776ba4d32d008b651fa81ba54fdb4c7303 added
a pure virtual method Verbose() to ILogger, which needs to be
implemented so that it compiles.

> https://code.videolan.org/videolan/vlc-android/commit/06bb1dfbcc10b0b4eef8dd00d3a8c3ee815bb00e
---

 medialibrary/jni/log.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/medialibrary/jni/log.h b/medialibrary/jni/log.h
index f5d508b7d..e8c27757e 100644
--- a/medialibrary/jni/log.h
+++ b/medialibrary/jni/log.h
@@ -61,6 +61,11 @@ class AndroidMediaLibraryLogger : public medialibrary::ILogger
     {
         __android_log_print( ANDROID_LOG_DEBUG, "VLC/medialibrary", "%s", msg.c_str() );
     }
+
+    virtual void Verbose( const std::string& msg ) override
+    {
+        __android_log_print( ANDROID_LOG_VERBOSE, "VLC/medialibrary", "%s", msg.c_str() );
+    }
 };
 
 #endif // LIBVLCJNI_LOG_H



More information about the Android mailing list