|
VLC 4.0.0-dev
|
Message logs. More...
Topics | |
| Logger | |
| Message log back-end. | |
Files |
Data Structures | |
| struct | vlc_log_t |
| Log message. More... | |
Macros | |
| #define | msg_GenericVa(o, p, fmt, ap) |
| #define | msg_Generic(o, p, ...) |
| #define | msg_Info(p_this, ...) |
| #define | msg_Err(p_this, ...) |
| #define | msg_Warn(p_this, ...) |
| #define | msg_Dbg(p_this, ...) |
Typedefs | |
| typedef struct vlc_log_t | vlc_log_t |
| Log message. | |
Enumerations | |
| enum | vlc_log_type { VLC_MSG_INFO =0 , VLC_MSG_ERR , VLC_MSG_WARN , VLC_MSG_DBG } |
| Message types. More... | |
Functions | |
| void | vlc_object_Log (vlc_object_t *obj, int type, const char *module, const char *file, unsigned line, const char *func, const char *format,...) |
| Emit a log message. | |
| void | vlc_object_vaLog (vlc_object_t *obj, int prio, const char *module, const char *file, unsigned line, const char *func, const char *format, va_list ap) |
| Emit a log message. | |
| const char * | vlc_strerror (int) |
| Formats an error message in the current locale. | |
| const char * | vlc_strerror_c (int) |
| Formats an error message in the POSIX/C locale (i.e. | |
Variables | |
| const char | vlc_module_name [] |
| void | vlc_LogSet (libvlc_int_t *, const struct vlc_logger_operations *, void *data) |
| Sets the message logging callback. | |
Message logs.
Functions for modules to emit log messages.
| #define msg_Dbg | ( | p_this, | |
| ... ) |
Referenced by access_New(), aout_FiltersPipelineCreate(), aout_FormatPrint(), aout_FormatsPrint(), aout_volume_SetFormat(), ChangeFilters(), config_ChainParse(), config_OpenConfigFile(), Control(), ControlInsertDemuxFilter(), CreateConverter(), CreateVoutIfNeeded(), Decoder_ChangeOutputDelay(), Decoder_ChangeOutputPause(), Decoder_ChangeOutputRate(), DecoderThread_ProcessInput(), DeduceSlaveType(), DeinterlaceCallback(), DeleteDecoder(), demux_NewAdvanced(), Destroy(), DestroySout(), download_key(), download_signature(), EsOutDecodersStopBuffering(), EsOutDelLocked(), EsOutProgramDel(), EsOutProgramEpg(), EsOutProgramHandleClockSource(), EsOutProgramMeta(), EsOutProgramSelect(), EsOutPropsInit(), EsOutSelectEs(), EsOutSend(), EsOutSendEsEvent(), EsOutVaControlLocked(), filter_chain_AppendInner(), filter_chain_DeleteFilter(), GetUpdateFile(), httpd_HostDelete(), ImageReadUrl(), ImageWrite(), Init(), input_ControlPush(), input_Create(), input_EsOutTimeshiftNew(), input_resource_GetAout(), input_resource_PutAout(), input_resource_PutVoutLocked(), input_resource_RequestSout(), input_resource_StopFreeVout(), input_SaveArt(), input_SlaveSourceAdd(), input_SubtitleFile2Uri(), InputGetExtraFilesPattern(), InputSourceInit(), InputStreamHandleAnchor(), installOrRemoveAddon(), libvlc_InternalCleanup(), libvlc_InternalInit(), libvlc_Quit(), LoadSlaves(), MainLoop(), MainLoopDemux(), module_LoadPlugins(), module_unneed(), ModuleThread_GetDecoderDevice(), ModuleThread_PlayAudio(), ModuleThread_PlayVideo(), net_Accept(), net_Connect(), net_ConnectDgram(), net_Listen(), net_ListenSingle(), net_OpenDgram(), net_SetMcastHopLimit(), OpenSDP(), PreparePicture(), RenderPicture(), replay_gain_CalcMultiplier(), RequestVoutRsc(), SelectClockSource(), services_discovery_item_added(), services_discovery_item_removed(), SetHighlights(), SetStopStart(), SlaveDemux(), sout_AnnounceRegisterSDP(), sout_AnnounceUnRegister(), sout_InputDelete(), sout_InputNew(), sout_MuxAddStream(), sout_MuxNew(), sout_NewInstance(), sout_StreamDelete(), sout_StreamNewModule(), spu_UpdateOriginalSize(), stream_CheckReady(), stream_FilterAutoNew(), stream_HandleDiscontinuity(), stream_HandleDrift(), stream_Silence(), stream_StartDiscontinuity(), subtitles_Detect(), system_Configure(), system_ConfigureDbus(), update_DownloadReal(), var_Destroy(), video_format_Print(), vlc_aout_stream_RequestRestart(), vlc_CPU_dump(), vlc_filter_UnloadModule(), vlc_gl_surface_ResizeNotify(), vlc_http_auth_ParseWwwAuthenticateHeader(), vlc_LogSpam(), vlc_rtp_add_media_types(), vlc_rtp_pt_instantiate(), vlc_stream_ReadLine(), vlc_threads_setup(), vlc_tls_SocketOpenTCP(), vlc_tls_SocketOpenTLS(), vlm_New(), vout_ChangeProjection(), vout_ChangeSource(), vout_display_New(), vout_display_ResizeWindow(), vout_display_window_FullscreenNotify(), vout_display_window_IccEvent(), vout_display_window_OutputEvent(), vout_display_window_ResizeNotify(), vout_display_window_StateNotify(), vout_display_window_WindowingNotify(), vout_InitInterlacingSupport(), vout_OpenWrapper(), vout_ResetProjection(), vout_SetInterlacingState(), VoutConverterCreate(), VoutOsdSnapshot(), and xiph_decode().
| #define msg_Err | ( | p_this, | |
| ... ) |
Referenced by access_New(), AddCallback(), AddIntfCallback(), addons_manager_Gather(), aout_FiltersNewWithClock(), aout_FiltersPipelineCreate(), aout_New(), aout_OutputNew(), AppendFilter(), ChangeFilters(), config_ChainParse(), config_LoadConfigFile(), config_OpenConfigFile(), config_SaveConfigFile(), Control(), Control(), ControlLockedSetPauseState(), ControlLockedSetRate(), ControlUnpause(), ControlUpdateRenderer(), CreateDecoder(), CreateDecoder(), CreateEncoder(), CreateVoutIfNeeded(), CropCallback(), decoder_New(), decoder_UpdateVideoOutput(), DecoderThread_ProcessSout(), DecoderUnsupportedCodec(), DeinterlaceCallback(), DelCallback(), demux_PacketizerNew(), demux_Probe(), demux_vaControlHelper(), EnableWindowLocked(), EsOutAddLocked(), EsOutVaControlLocked(), filter_chain_AppendFromString(), filter_chain_AppendInner(), filter_chain_VideoBufferNew(), fingerprinter_Create(), GetUpdateFile(), httpd_HostCreate(), httpdLoop(), ImageWriteUrl(), InitSout(), input_ControlPush(), input_item_WriteMeta(), input_SaveArt(), input_SlaveSourceAdd(), input_Start(), InputSourceInit(), InputStreamHandleAnchor(), InstallEntry(), intf_Create(), libvlc_InternalActionsInit(), libvlc_InternalAddIntf(), libvlc_InternalInit(), ModuleThread_UpdateVideoFormat(), net_Accept(), net_Connect(), net_ConnectDgram(), net_Listen(), net_ListenSingle(), net_OpenDgram(), net_Read(), net_SetMcastHopLimit(), net_SetMcastOut(), net_SetupDgramSocket(), net_Socket(), net_SourceSubscribe(), net_Subscribe(), net_Write(), Open(), OpenSDP(), OpenURL(), picture_BlendSubpicture(), preparser_GenerateThumbnailToFiles(), preparser_pool_SpawnThread(), PrerenderPicture(), SelectClockSource(), services_discovery_item_added(), services_discovery_item_removed(), SlaveDemux(), SlaveSeek(), sout_AnnounceRegisterSDP(), sout_MuxAddStream(), sout_NewInstance(), spu_PutSubpicture(), SpuRenderRegion(), system_Configure(), system_ConfigureDbus(), TsStart(), update_DownloadReal(), var_OptionParse(), vlc_aout_stream_Drain(), vlc_aout_stream_New(), vlc_credential_get(), vlc_dialog_display_error_va(), vlc_http_auth_FormatAuthorizationHeader(), vlc_http_auth_ParseAuthenticationInfoHeader(), vlc_https_HostNew(), vlc_input_decoder_CreateSubDec(), vlc_input_decoder_Wait(), vlc_keystore_store(), vlc_playlist_Export(), vlc_preparser_New(), vlc_rd_new(), vlc_rtp_pt_create(), vlc_sd_Create(), vlc_stream_NewMRL(), vlc_stream_NewURL(), vlc_stream_ReadLine(), vlc_tls_ClientCreate(), vlc_tls_ClientSessionCreate(), vlc_tls_ServerCreate(), vlc_tls_SocketOpenTCP(), vlc_tls_SocketOpenTLS(), vlc_xlib_init(), vlm_ControlMediaAdd(), vlm_New(), vlm_vaControlInternal(), vout_display_Reset(), vout_display_window_CloseNotify(), vout_GetSnapshot(), vout_Request(), vout_SetDisplayStereo(), vout_SetDisplayViewpoint(), vout_snapshot_SaveImage(), VoutConverterCreate(), VoutSaveSnapshot(), VoutSetupConverter(), xml_Create(), and xml_ReaderCreate().
| #define msg_Generic | ( | o, | |
| p, | |||
| ... ) |
| #define msg_GenericVa | ( | o, | |
| p, | |||
| fmt, | |||
| ap ) |
Referenced by vlc_dialog_display_error_va().
| #define msg_Info | ( | p_this, | |
| ... ) |
Referenced by aout_FiltersNewWithClock(), config_OpenConfigFile(), Control(), GetUpdateFile(), libvlc_InternalAddIntf(), system_Configure(), and update_DownloadReal().
| #define msg_Warn | ( | p_this, | |
| ... ) |
Referenced by aout_FiltersNewWithClock(), aout_OutputNew(), AuthDigest(), config_ChainParse(), config_CreateDir(), config_LoadConfigFile(), Control(), ControlPause(), decoder_NewSubpicture(), decoder_UpdateVideoOutput(), DecoderThread_ProcessInput(), EsOutFrameNext(), EsOutSelectEs(), EsOutUnselectEs(), EsOutVaPrivControlLocked(), filter_NewPicture(), filter_NewSubpicture(), FilterPictureInteractive(), FilterSingleChainedFilter(), GetFilenames(), GetUpdateFile(), httpd_HostDelete(), httpd_UrlDelete(), httpd_UrlNew(), ImageRead(), init_action(), input_ExtractAttachmentAndCacheArt(), input_SlaveSourceAdd(), IsPictureLateToProcess(), libvlc_InternalCleanup(), libvlc_InternalInit(), ModuleThread_NewSpuBuffer(), ModuleThread_PlayAudio(), ModuleThread_PlaySpu(), ModuleThread_PlayVideo(), net_Connect(), net_ConnectDgram(), net_Read(), net_SetMcastHopLimit(), net_SourceSubscribe(), rtp_pcm_open(), SetStopStart(), sout_InputNew(), sout_MuxDeleteStream(), SpuRenderRegion(), stream_FilterChainNew(), stream_HandleDrift(), system_ConfigureDbus(), TsAutoStop(), TsRun(), video_splitter_NewPicture(), vlc_credential_get(), vlc_http_auth_ParseAuthenticationInfoHeader(), vlc_http_auth_ParseWwwAuthenticateHeader(), vlc_input_decoder_DecodeWithStatus(), vlc_probe(), vlc_stream_NewMRL(), vlm_New(), vout_display_New(), VoutOsdSnapshot(), and xiph_decode().
| typedef struct vlc_log_t vlc_log_t |
Log message.
| enum vlc_log_type |
| void vlc_LogSet | ( | libvlc_int_t * | vlc, |
| const struct vlc_logger_operations * | ops, | ||
| void * | opaque ) |
Sets the message logging callback.
| vlc | the libvlc private instance to replace the logger for |
| ops | message callback, or NULL to clear |
| opaque | data pointer for the message callback |
References discard_log, vlc_logger::ops, vlc_LogExternalCreate(), vlc_LogSpam(), vlc_LogSwitch(), and VLC_OBJECT.
| void vlc_object_Log | ( | vlc_object_t * | obj, |
| int | type, | ||
| const char * | module, | ||
| const char * | file, | ||
| unsigned | line, | ||
| const char * | func, | ||
| const char * | format, | ||
| ... ) |
Emit a log message.
| obj | VLC object emitting the message or NULL |
| type | VLC_MSG_* message type (info, error, warning or debug) |
| module | name of module from which the message come (normally vlc_module_name) |
| file | source module file name (normally FILE) or NULL |
| line | function call source line number (normally LINE) or 0 |
| func | calling function name (normally func) or NULL |
| format | printf-like message format |
References vlc_object_vaLog().
| void vlc_object_vaLog | ( | vlc_object_t * | obj, |
| int | prio, | ||
| const char * | module, | ||
| const char * | file, | ||
| unsigned | line, | ||
| const char * | func, | ||
| const char * | format, | ||
| va_list | ap ) |
Emit a log message.
This function is the variable argument list equivalent to vlc_object_Log().
References vlc_object_t::logger, vlc_object_typename(), and vlc_vaLog().
Referenced by vlc_object_Log().
| const char * vlc_strerror | ( | int | errnum | ) |
Formats an error message in the current locale.
| errnum | error number (as in errno.h) |
References vlc_strerror_c(), and vlc_strerror_l().
| const char * vlc_strerror_c | ( | int | errnum | ) |
Formats an error message in the POSIX/C locale (i.e.
American English).
| errnum | error number (as in errno.h) |
References _, vlc_strerror_l(), and wsaerrmsg.
Referenced by config_CreateDir(), config_LoadConfigFile(), config_OpenConfigFile(), config_SaveConfigFile(), httpdLoop(), ImageWriteUrl(), input_SaveArt(), libvlc_InternalCleanup(), net_Accept(), net_Connect(), net_ConnectDgram(), net_Listen(), net_ListenSingle(), net_OpenDgram(), net_Read(), net_SetMcastHopLimit(), net_SetMcastOut(), net_SetupDgramSocket(), net_Socket(), net_SourceSubscribe(), net_Subscribe(), net_Write(), OpenURL(), rtp_dgram_thread(), vlc_h1_request(), vlc_playlist_Export(), vlc_stream_ReadLine(), vlc_strerror(), vlc_thread_fatal_print(), vlc_tls_SocketOpenTCP(), and vlc_tls_SocketOpenTLS().
|
extern |
Referenced by vlc_entry_api_version__core().