Functions

LibVLC logging
[LibVLC core]

libvlc_log_* functions provide access to the LibVLC messages log. More...

Collaboration diagram for LibVLC logging:

Functions

unsigned libvlc_get_log_verbosity (const libvlc_instance_t *p_instance)
 Always returns minus one.
void libvlc_set_log_verbosity (libvlc_instance_t *p_instance, unsigned level)
 This function does nothing.
libvlc_log_tlibvlc_log_open (libvlc_instance_t *p_instance)
 This function does nothing useful.
void libvlc_log_close (libvlc_log_t *p_log)
 Frees memory allocated by libvlc_log_open().
unsigned libvlc_log_count (const libvlc_log_t *p_log)
 Always returns zero.
void libvlc_log_clear (libvlc_log_t *p_log)
 This function does nothing.
libvlc_log_iterator_tlibvlc_log_get_iterator (const libvlc_log_t *p_log)
 This function does nothing useful.
void libvlc_log_iterator_free (libvlc_log_iterator_t *p_iter)
 Frees memory allocated by libvlc_log_get_iterator().
int libvlc_log_iterator_has_next (const libvlc_log_iterator_t *p_iter)
 Always returns zero.
libvlc_log_message_tlibvlc_log_iterator_next (libvlc_log_iterator_t *p_iter, libvlc_log_message_t *p_buffer)
 Always returns NULL.



typedef struct libvlc_log_t libvlc_log_t
 This structure is opaque.
typedef struct
libvlc_log_iterator_t 
libvlc_log_iterator_t
 This structure is opaque.
typedef struct libvlc_log_message_t libvlc_log_message_t

Detailed Description

libvlc_log_* functions provide access to the LibVLC messages log.

This is used for debugging or by advanced users.


Typedef Documentation

This structure is opaque.

It represents a libvlc log iterator

typedef struct libvlc_log_t libvlc_log_t

This structure is opaque.

It represents a libvlc log instance


Function Documentation

unsigned libvlc_get_log_verbosity ( const libvlc_instance_t p_instance  ) 

Always returns minus one.

This function is only provided for backward compatibility.

Parameters:
p_instance ignored
Returns:
always -1
void libvlc_log_clear ( libvlc_log_t p_log  ) 

This function does nothing.

It is only provided for backward compatibility.

Parameters:
p_log ignored
void libvlc_log_close ( libvlc_log_t p_log  ) 

Frees memory allocated by libvlc_log_open().

Parameters:
p_log libvlc log instance or NULL
unsigned libvlc_log_count ( const libvlc_log_t p_log  ) 

Always returns zero.

This function is only provided for backward compatibility.

Parameters:
p_log ignored
Returns:
always zero
libvlc_log_iterator_t* libvlc_log_get_iterator ( const libvlc_log_t p_log  ) 

This function does nothing useful.

It is only provided for backward compatibility.

Parameters:
p_log ignored
Returns:
an unique pointer or NULL on error or if the parameter was NULL
void libvlc_log_iterator_free ( libvlc_log_iterator_t p_iter  ) 

Frees memory allocated by libvlc_log_get_iterator().

Parameters:
p_iter libvlc log iterator or NULL
int libvlc_log_iterator_has_next ( const libvlc_log_iterator_t p_iter  ) 

Always returns zero.

This function is only provided for backward compatibility.

Parameters:
p_iter ignored
Returns:
always zero
libvlc_log_message_t* libvlc_log_iterator_next ( libvlc_log_iterator_t p_iter,
libvlc_log_message_t p_buffer 
)

Always returns NULL.

This function is only provided for backward compatibility.

Parameters:
p_iter libvlc log iterator or NULL
p_buffer ignored
Returns:
always NULL
libvlc_log_t* libvlc_log_open ( libvlc_instance_t p_instance  ) 

This function does nothing useful.

It is only provided for backward compatibility.

Parameters:
p_instance libvlc instance
Returns:
an unique pointer or NULL on error
void libvlc_set_log_verbosity ( libvlc_instance_t p_instance,
unsigned  level 
)

This function does nothing.

It is only provided for backward compatibility.

Parameters:
p_instance ignored
level ignored
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines