Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
98c55d6d
Commit
98c55d6d
authored
Mar 09, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all: move the logger option from video to interface and advanced
parent
e053d5aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
modules/misc/logger.c
modules/misc/logger.c
+3
-0
src/libvlc.h
src/libvlc.h
+9
-8
No files found.
modules/misc/logger.c
View file @
98c55d6d
...
...
@@ -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
,
...
...
src/libvlc.h
View file @
98c55d6d
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment