diff options
Diffstat (limited to 'log_8h.html')
-rw-r--r-- | log_8h.html | 375 |
1 files changed, 375 insertions, 0 deletions
diff --git a/log_8h.html b/log_8h.html new file mode 100644 index 00000000..5f73f57d --- /dev/null +++ b/log_8h.html @@ -0,0 +1,375 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.15"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>PipeWire: log.h File Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtreedata.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ + $(document).ready(initResizable); +/* @license-end */</script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">PipeWire +  <span id="projectnumber">0.2.9</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.15 --> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(function() { + initMenu('',false,false,'search.php','Search'); +}); +/* @license-end */</script> +<div id="main-nav"></div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + <div id="nav-sync" class="sync"></div> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(document).ready(function(){initNavTree('log_8h.html','');}); +/* @license-end */ +</script> +<div id="doc-content"> +<div class="header"> + <div class="summary"> +<a href="#define-members">Macros</a> | +<a href="#func-members">Functions</a> | +<a href="#var-members">Variables</a> </div> + <div class="headertitle"> +<div class="title">log.h File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><div class="dynheader"> +Include dependency graph for log.h:</div> +<div class="dyncontent"> +<div class="center"><img src="log_8h__incl.png" border="0" usemap="#log_8h" alt=""/></div> +<map name="log_8h" id="log_8h"> +<area shape="rect" title=" " alt="" coords="45,5,100,32"/> +<area shape="rect" title=" " alt="" coords="5,80,140,107"/> +</map> +</div> +</div><div class="textblock"><div class="dynheader"> +This graph shows which files directly or indirectly include this file:</div> +<div class="dyncontent"> +<div class="center"><img src="log_8h__dep__incl.png" border="0" usemap="#log_8hdep" alt=""/></div> +<map name="log_8hdep" id="log_8hdep"> +<area shape="rect" title=" " alt="" coords="559,5,614,32"/> +<area shape="rect" href="pipewire_8h.html" title=" " alt="" coords="225,80,316,107"/> +<area shape="rect" href="core_8c.html" title=" " alt="" coords="5,155,67,181"/> +<area shape="rect" href="loop_8c.html" title=" " alt="" coords="91,155,152,181"/> +<area shape="rect" href="data-loop_8c.html" title=" " alt="" coords="341,80,435,107"/> +<area shape="rect" href="log_8c.html" title=" " alt="" coords="460,80,513,107"/> +<area shape="rect" href="main-loop_8c.html" title=" " alt="" coords="537,80,636,107"/> +<area shape="rect" href="mem_8c.html" title=" " alt="" coords="660,80,727,107"/> +<area shape="rect" href="proxy_8c.html" title=" " alt="" coords="751,80,819,107"/> +<area shape="rect" href="thread-loop_8c.html" title=" " alt="" coords="843,80,951,107"/> +<area shape="rect" href="utils_8c.html" title=" " alt="" coords="976,80,1037,107"/> +<area shape="rect" href="work-queue_8c.html" title=" " alt="" coords="1062,80,1173,107"/> +<area shape="rect" href="device_8c.html" title=" " alt="" coords="177,155,253,181"/> +<area shape="rect" href="introspect_8c.html" title=" " alt="" coords="277,155,376,181"/> +<area shape="rect" href="pipewire_8c.html" title=" " alt="" coords="401,155,490,181"/> +<area shape="rect" href="port_8c.html" title=" " alt="" coords="515,155,573,181"/> +<area shape="rect" href="remote_8c.html" title=" " alt="" coords="597,155,677,181"/> +<area shape="rect" href="stream_8c.html" title=" " alt="" coords="702,155,781,181"/> +</map> +</div> +</div> +<p><a href="log_8h_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> +Macros</h2></td></tr> +<tr class="memitem:aee4279818cb86e638cd2bfd79973ce87"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#aee4279818cb86e638cd2bfd79973ce87">pw_log</a>(lev, ...)</td></tr> +<tr class="separator:aee4279818cb86e638cd2bfd79973ce87"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a97a1a2e0ffd63e3f859b1ab183b379c3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#a97a1a2e0ffd63e3f859b1ab183b379c3">pw_log_trace_fp</a>(...)   <a class="el" href="classpw__log.html">pw_log</a>(SPA_LOG_LEVEL_TRACE,__VA_ARGS__)</td></tr> +<tr class="separator:a97a1a2e0ffd63e3f859b1ab183b379c3"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:a2e4a80353dce36ba723a5401299c6673"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#a2e4a80353dce36ba723a5401299c6673">pw_log_set</a> (struct spa_log *log)</td></tr> +<tr class="separator:a2e4a80353dce36ba723a5401299c6673"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8786c346982e4bd15af22d180e091699"><td class="memItemLeft" align="right" valign="top">struct spa_log * </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#a8786c346982e4bd15af22d180e091699">pw_log_get</a> (void)</td></tr> +<tr class="separator:a8786c346982e4bd15af22d180e091699"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9f7889d134dd808e0b3609c7e694ad3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#a9f7889d134dd808e0b3609c7e694ad3a">pw_log_set_level</a> (enum spa_log_level level)</td></tr> +<tr class="separator:a9f7889d134dd808e0b3609c7e694ad3a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a388c36c000f2aac0658e75f17cabeda4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#a388c36c000f2aac0658e75f17cabeda4">pw_log_log</a> (enum spa_log_level level, const char *file, int line, const char *func, const char *fmt,...) SPA_PRINTF_FUNC(5</td></tr> +<tr class="separator:a388c36c000f2aac0658e75f17cabeda4"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0baff5cd026e7187ab12ca821f942502"><td class="memItemLeft" align="right" valign="top">void void </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#a0baff5cd026e7187ab12ca821f942502">pw_log_logv</a> (enum spa_log_level level, const char *file, int line, const char *func, const char *fmt, va_list args) SPA_PRINTF_FUNC(5</td></tr> +<tr class="separator:a0baff5cd026e7187ab12ca821f942502"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> +Variables</h2></td></tr> +<tr class="memitem:ac5f33d3392f3df466736240c534f5dfe"><td class="memItemLeft" align="right" valign="top">enum spa_log_level </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#ac5f33d3392f3df466736240c534f5dfe">pw_log_level</a></td></tr> +<tr class="memdesc:ac5f33d3392f3df466736240c534f5dfe"><td class="mdescLeft"> </td><td class="mdescRight">The global log level. <a href="#ac5f33d3392f3df466736240c534f5dfe">More...</a><br /></td></tr> +<tr class="separator:ac5f33d3392f3df466736240c534f5dfe"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a id="aee4279818cb86e638cd2bfd79973ce87"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aee4279818cb86e638cd2bfd79973ce87">◆ </a></span>pw_log</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define <a class="el" href="classpw__log.html">pw_log</a></td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">lev, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> +<b>Value:</b><div class="fragment"><div class="line">({ \</div><div class="line"> if (SPA_UNLIKELY(<a class="code" href="classpw__log.html#a66c4dbcfe71f20642b74e4ec1576ac2a">pw_log_level_enabled</a> (lev))) \</div><div class="line"> pw_log_log(lev,__FILE__,__LINE__,__func__,__VA_ARGS__); \</div><div class="line">})</div><div class="ttc" id="classpw__log_html_a66c4dbcfe71f20642b74e4ec1576ac2a"><div class="ttname"><a href="classpw__log.html#a66c4dbcfe71f20642b74e4ec1576ac2a">pw_log::pw_log_level_enabled</a></div><div class="ttdeci">#define pw_log_level_enabled(lev)</div><div class="ttdoc">Check if a loglevel is enabled.</div><div class="ttdef"><b>Definition:</b> log.h:67</div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a97a1a2e0ffd63e3f859b1ab183b379c3"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a97a1a2e0ffd63e3f859b1ab183b379c3">◆ </a></span>pw_log_trace_fp</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define pw_log_trace_fp</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em></td><td>)</td> + <td>   <a class="el" href="classpw__log.html">pw_log</a>(SPA_LOG_LEVEL_TRACE,__VA_ARGS__)</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a id="a8786c346982e4bd15af22d180e091699"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a8786c346982e4bd15af22d180e091699">◆ </a></span>pw_log_get()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct spa_log* pw_log_get </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a388c36c000f2aac0658e75f17cabeda4"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a388c36c000f2aac0658e75f17cabeda4">◆ </a></span>pw_log_log()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void pw_log_log </td> + <td>(</td> + <td class="paramtype">enum spa_log_level </td> + <td class="paramname"><em>level</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>file</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>line</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>func</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>fmt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a0baff5cd026e7187ab12ca821f942502"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a0baff5cd026e7187ab12ca821f942502">◆ </a></span>pw_log_logv()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void void pw_log_logv </td> + <td>(</td> + <td class="paramtype">enum spa_log_level </td> + <td class="paramname"><em>level</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>file</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>line</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>func</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>fmt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">va_list </td> + <td class="paramname"><em>args</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a2e4a80353dce36ba723a5401299c6673"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a2e4a80353dce36ba723a5401299c6673">◆ </a></span>pw_log_set()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void pw_log_set </td> + <td>(</td> + <td class="paramtype">struct spa_log * </td> + <td class="paramname"><em>log</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a id="a9f7889d134dd808e0b3609c7e694ad3a"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a9f7889d134dd808e0b3609c7e694ad3a">◆ </a></span>pw_log_set_level()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void pw_log_set_level </td> + <td>(</td> + <td class="paramtype">enum spa_log_level </td> + <td class="paramname"><em>level</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<h2 class="groupheader">Variable Documentation</h2> +<a id="ac5f33d3392f3df466736240c534f5dfe"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ac5f33d3392f3df466736240c534f5dfe">◆ </a></span>pw_log_level</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">enum spa_log_level pw_log_level</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>The global log level. </p> + +<p class="reference">Referenced by <a class="el" href="classpw__log.html#aa88314a3008bc42ef30cb53f9c8247a6">pw_log::pw_log_set_level()</a>.</p> + +</div> +</div> +</div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_7129a66c92fe7beef816c2ac906ef0b3.html">pipewire</a></li><li class="navelem"><a class="el" href="log_8h.html">log.h</a></li> + <li class="footer">Generated by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> + </ul> +</div> +</body> +</html> |