]> git.sesse.net Git - vlc/commitdiff
all: move the logger option from video to interface and advanced
authorChristophe Mutricy <xtophe@videolan.org>
Thu, 9 Mar 2006 19:55:40 +0000 (19:55 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 9 Mar 2006 19:55:40 +0000 (19:55 +0000)
modules/misc/logger.c
src/libvlc.h

index f4c986ef8e57684724093ec65265df3333e1b012..16b940c1fd0c352ddda94f45ab5fac2bb8794e52 100644 (file)
@@ -126,6 +126,9 @@ vlc_module_begin();
     set_shortname( N_( "Logging" ) );
     set_description( _("File logging") );
 
+    set_category( CAT_ADVANCED );
+    set_subcategory( SUBCAT_ADVANCED_MISC );
+
     add_file( "logfile", NULL, NULL,
              N_("Log filename"), N_("Specify the log filename."), VLC_FALSE );
     add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT,
index f10b5d7198a3cfe19e1a3c5e6f6e9436078360bf..fae65ed97accf7b3c18c17011032f814a702f806 100644 (file)
@@ -1103,13 +1103,6 @@ vlc_module_begin();
     add_bool( "disable-screensaver", VLC_TRUE, NULL, SS_TEXT, SS_LONGTEXT,
               VLC_TRUE );
 
-    add_bool( "file-logging", VLC_FALSE, NULL, FILE_LOG_TEXT, FILE_LOG_LONGTEXT,
-              VLC_TRUE );
-#if HAVE_SYSLOG_H
-    add_bool ( "syslog", VLC_FALSE, NULL, SYSLOG_TEXT, SYSLOG_LONGTEXT,
-               VLC_TRUE );
-#endif
-
     set_section( N_("Snapshot") , NULL );
     add_directory( "snapshot-path", NULL, NULL, SNAP_PATH_TEXT,
                    SNAP_PATH_LONGTEXT, VLC_FALSE );
@@ -1455,7 +1448,15 @@ vlc_module_begin();
         change_short('v');
     add_bool( "quiet", 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_TRUE );
         change_short('q');
-    add_string( "language", "auto", NULL, LANGUAGE_TEXT, LANGUAGE_LONGTEXT,
+
+    add_bool( "file-logging", VLC_FALSE, NULL, FILE_LOG_TEXT, FILE_LOG_LONGTEXT,
+              VLC_TRUE );
+#if HAVE_SYSLOG_H
+    add_bool ( "syslog", VLC_FALSE, NULL, SYSLOG_TEXT, SYSLOG_LONGTEXT,
+               VLC_TRUE );
+#endif
+
+add_string( "language", "auto", NULL, LANGUAGE_TEXT, LANGUAGE_LONGTEXT,
                 VLC_FALSE );
         change_string_list( ppsz_language, ppsz_language_text, 0 );
     add_bool( "color", 0, NULL, COLOR_TEXT, COLOR_LONGTEXT, VLC_TRUE );