|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.co.caprica.vlcj.log.Log
public class Log
Native log support.
| Constructor Summary | |
|---|---|
Log(LibVlc libvlc,
libvlc_instance_t instance)
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear (remove all messages from) the Logger. |
void |
close()
Close the log instance. |
int |
count()
Get the count of the number of messages in the Logger. |
java.util.List<LogMessage> |
messages()
Get all of the messages currently in the Logger. |
java.util.List<LogMessage> |
messages(java.util.List<LogMessage> messages)
Get all of the messages currently in the Logger. |
void |
open()
Open a log instance. |
void |
setThreshold(LogLevel threshold)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Log(LibVlc libvlc,
libvlc_instance_t instance)
libvlc - instance - | Method Detail |
|---|
public void setThreshold(LogLevel threshold)
threshold - public void open()
public void close()
The underlying native log itself is not actually 'closed'.
public int count()
public void clear()
public java.util.List<LogMessage> messages()
The log will be cleared after the messages have been retrieved.
public java.util.List<LogMessage> messages(java.util.List<LogMessage> messages)
The log will be cleared after the messages have been retrieved.
messages - list to store the messages in
|
(C)2010 Caprica Software Limited | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||