Changeset c71376ba3596b5f555964fe30e486cac3a5130b7
- Timestamp:
- 04/06/08 20:38:09
(3 months ago)
- Author:
- Filippo Carone <littlejohn@videolan.org>
- git-committer:
- Filippo Carone <littlejohn@videolan.org> 1207507089 +0200
- git-parent:
[81a45beda78abfe78354d9b348f6dfba1a3b9598]
- git-author:
- Filippo Carone <littlejohn@videolan.org> 1207507065 +0200
- Message:
jvlc logging classes added
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rfea85de |
rc71376b |
|
| 90 | 90 | } |
|---|
| 91 | 91 | |
|---|
| | 92 | public Logger getLogger() |
|---|
| | 93 | { |
|---|
| | 94 | return new Logger(this); |
|---|
| | 95 | } |
|---|
| | 96 | |
|---|
| | 97 | public LoggerVerbosityLevel getLogVerbosity() |
|---|
| | 98 | { |
|---|
| | 99 | libvlc_exception_t exception = new libvlc_exception_t(); |
|---|
| | 100 | int level = libvlc.libvlc_get_log_verbosity(instance, exception); |
|---|
| | 101 | return LoggerVerbosityLevel.getSeverity(level); |
|---|
| | 102 | } |
|---|
| | 103 | |
|---|
| | 104 | public void setLogVerbosity(LoggerVerbosityLevel level) |
|---|
| | 105 | { |
|---|
| | 106 | libvlc_exception_t exception = new libvlc_exception_t(); |
|---|
| | 107 | libvlc.libvlc_set_log_verbosity(instance, level.ordinal(), exception); |
|---|
| | 108 | } |
|---|
| | 109 | |
|---|
| | 110 | |
|---|
| 92 | 111 | /** |
|---|
| 93 | 112 | * Returns the _instance. |
|---|