blob: 60e0a90b6cda5df6a31e90bfb28db0907135a051 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.2.0/dotnetdoc/class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<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.9.1"/>
<title>Apache Ignite.NET: Apache.Ignite.Core.Log.CategoryLogger Class 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">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></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="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Apache Ignite.NET
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
</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">
$(document).ready(function(){initNavTree('class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Apache.Ignite.Core.Log.CategoryLogger Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Wrapping logger with a predefined category.
<a href="class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Apache.Ignite.Core.Log.CategoryLogger:</div>
<div class="dyncontent">
<div class="center">
<img src="class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.png" usemap="#Apache.Ignite.Core.Log.CategoryLogger_map" alt=""/>
<map id="Apache.Ignite.Core.Log.CategoryLogger_map" name="Apache.Ignite.Core.Log.CategoryLogger_map">
<area href="interface_apache_1_1_ignite_1_1_core_1_1_log_1_1_i_logger.html" title="Defines Ignite logging interface. " alt="Apache.Ignite.Core.Log.ILogger" shape="rect" coords="0,0,243,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a11f44ec68901b55c599756c1deb3b0e5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.html#a11f44ec68901b55c599756c1deb3b0e5">CategoryLogger</a> (<a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_log_1_1_i_logger.html">ILogger</a> logger, string category)</td></tr>
<tr class="memdesc:a11f44ec68901b55c599756c1deb3b0e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.html" title="Wrapping logger with a predefined category. ">CategoryLogger</a> class. <a href="#a11f44ec68901b55c599756c1deb3b0e5">More...</a><br /></td></tr>
<tr class="separator:a11f44ec68901b55c599756c1deb3b0e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a318070488bbcf58f912ea27b3d230843"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.html#a318070488bbcf58f912ea27b3d230843">Log</a> (<a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_log.html#a83b733b1f3639d4fd9eeac484eb5bce3">LogLevel</a> level, string message, object[] args, IFormatProvider formatProvider, string category, string nativeErrorInfo, Exception ex)</td></tr>
<tr class="memdesc:a318070488bbcf58f912ea27b3d230843"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs the specified message. <a href="#a318070488bbcf58f912ea27b3d230843">More...</a><br /></td></tr>
<tr class="separator:a318070488bbcf58f912ea27b3d230843"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a0814e9e57a087208e9f9bb2e2c43bf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.html#a7a0814e9e57a087208e9f9bb2e2c43bf">IsEnabled</a> (<a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_log.html#a83b733b1f3639d4fd9eeac484eb5bce3">LogLevel</a> level)</td></tr>
<tr class="memdesc:a7a0814e9e57a087208e9f9bb2e2c43bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the specified log level is enabled. <a href="#a7a0814e9e57a087208e9f9bb2e2c43bf">More...</a><br /></td></tr>
<tr class="separator:a7a0814e9e57a087208e9f9bb2e2c43bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>When <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_log.html">Log</a> method is called, and <code>category</code> parameter is null, predefined category will be used. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a11f44ec68901b55c599756c1deb3b0e5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Apache.Ignite.Core.Log.CategoryLogger.CategoryLogger </td>
<td>(</td>
<td class="paramtype"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_log_1_1_i_logger.html">ILogger</a>&#160;</td>
<td class="paramname"><em>logger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>category</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>The logger to wrap.</td></tr>
<tr><td class="paramname">category</td><td>The category.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a7a0814e9e57a087208e9f9bb2e2c43bf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Apache.Ignite.Core.Log.CategoryLogger.IsEnabled </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_log.html#a83b733b1f3639d4fd9eeac484eb5bce3">LogLevel</a>&#160;</td>
<td class="paramname"><em>level</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">level</td><td>The level.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Value indicating whether the specified log level is enabled </dd></dl>
<p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_log_1_1_i_logger.html#a0a9625acf0ee106db4371c3454a1b3b6">Apache.Ignite.Core.Log.ILogger</a>.</p>
</div>
</div>
<a class="anchor" id="a318070488bbcf58f912ea27b3d230843"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Apache.Ignite.Core.Log.CategoryLogger.Log </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_log.html#a83b733b1f3639d4fd9eeac484eb5bce3">LogLevel</a>&#160;</td>
<td class="paramname"><em>level</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>message</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">object[]&#160;</td>
<td class="paramname"><em>args</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">IFormatProvider&#160;</td>
<td class="paramname"><em>formatProvider</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>category</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>nativeErrorInfo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Exception&#160;</td>
<td class="paramname"><em>ex</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">level</td><td>The level.</td></tr>
<tr><td class="paramname">message</td><td>The message.</td></tr>
<tr><td class="paramname">args</td><td>The arguments to format <em>message</em> . Can be null (formatting will not occur).</td></tr>
<tr><td class="paramname">formatProvider</td><td>The format provider. Can be null if <em>args</em> is null.</td></tr>
<tr><td class="paramname">category</td><td>The logging category name.</td></tr>
<tr><td class="paramname">nativeErrorInfo</td><td>The native error information.</td></tr>
<tr><td class="paramname">ex</td><td>The exception. Can be null.</td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_log_1_1_i_logger.html#ae7005301660d1d73f13fc61601d3b9c0">Apache.Ignite.Core.Log.ILogger</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="namespace_apache.html">Apache</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite.html">Ignite</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core.html">Core</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_log.html">Log</a></li><li class="navelem"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_log_1_1_category_logger.html">CategoryLogger</a></li>
<li class="footer">Generated on Fri Sep 15 2017 11:37:30 for Apache Ignite.NET by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>