logger.c File Reference

Include dependency graph for logger.c:


Data Structures

struct  msg_cb_data_t
struct  intf_sys_t
 Per-interface private state. More...

Defines

#define MODE_TEXT   0
#define MODE_HTML   1
#define MODE_SYSLOG   2
#define LOG_FILE_TEXT   "vlc-log.txt"
#define LOG_FILE_HTML   "vlc-log.html"
#define TEXT_HEADER   "-- logger module started --\n"
#define TEXT_FOOTER   "-- logger module stopped --\n"
#define HTML_HEADER
#define HTML_FOOTER
#define LOGMODE_TEXT   N_("Log format")
#define LOGMODE_LONGTEXT
#define LOGVERBOSE_TEXT   N_("Verbosity")
#define LOGVERBOSE_LONGTEXT

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
static void Overflow (msg_cb_data_t *p_sys, msg_item_t *p_item, unsigned overruns)
 Log a message.
static void TextPrint (const msg_item_t *, FILE *)
static void HtmlPrint (const msg_item_t *, FILE *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)

Variables

static const char *const mode_list []
static const char *const mode_list_text []
static const char ppsz_type [4][11]

Define Documentation

#define HTML_FOOTER

Value:

"      <b>-- logger module stopped --</b>\n" \
    "    </pre>\n" \
    "  </body>\n" \
    "</html>\n"

#define HTML_HEADER

Value:

"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n" \
    "  \"http://www.w3.org/TR/html4/strict.dtd\">\n" \
    "<html>\n" \
    "  <head>\n" \
    "    <title>vlc log</title>\n" \
    "    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n" \
    "  </head>\n" \
    "  <body style=\"background-color: #000000; color: #aaaaaa;\">\n" \
    "    <pre>\n" \
    "      <b>-- logger module started --</b>\n"

#define LOG_FILE_HTML   "vlc-log.html"

#define LOG_FILE_TEXT   "vlc-log.txt"

#define LOGMODE_LONGTEXT

Value:

N_("Specify the log format. Available choices are " \
  "\"text\" (default) and \"html\".")

#define LOGMODE_TEXT   N_("Log format")

#define LOGVERBOSE_LONGTEXT

Value:

N_("Select the verbosity to use for log or -1 to " \
"use the same verbosity given by --verbose.")

#define LOGVERBOSE_TEXT   N_("Verbosity")

#define MODE_HTML   1

Referenced by Overflow().

#define MODE_SYSLOG   2

Referenced by Overflow().

#define MODE_TEXT   0

Referenced by Overflow().

#define TEXT_FOOTER   "-- logger module stopped --\n"

#define TEXT_HEADER   "-- logger module started --\n"


Function Documentation

static void Close ( vlc_object_t p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

static void HtmlPrint ( const msg_item_t p_msg,
FILE *  p_file 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Status of this demuxer: Real Media format -----------------.

Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static void Overflow ( msg_cb_data_t p_sys,
msg_item_t p_item,
unsigned  overruns 
) [static]

static void TextPrint ( const msg_item_t p_msg,
FILE *  p_file 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const char* const mode_list[] [static]

Initial value:

 { "text", "html"



}

const char* const mode_list_text[] [static]

Initial value:

 { N_("Text"), "HTML"



}

const char ppsz_type[4][11] [static]

Initial value:

 {
    ": ",
    " error: ",
    " warning: ",
    " debug: ",
}

Referenced by PrintMsg(), Redraw(), and vlclua_xml_reader_node_type().


Generated on Tue May 25 08:05:25 2010 for VLC by  doxygen 1.5.6