You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

270 lines
13 KiB

  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class ColorlessConsolePrinter
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ColorlessConsolePrinter
  11. ">
  12. <meta name="generator" content="docfx 2.42.4.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
  18. <meta property="docfx:navrel" content="../toc.html">
  19. <meta property="docfx:tocrel" content="toc.html">
  20. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../index.html">
  33. <img id="logo" class="svg" src="../logo.svg" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div role="main" class="container body-content hide-when-search">
  54. <div class="sidenav hide-when-search">
  55. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  56. <div class="sidetoggle collapse" id="sidetoggle">
  57. <div id="sidetoc"></div>
  58. </div>
  59. </div>
  60. <div class="article row grid-right">
  61. <div class="col-md-10">
  62. <article class="content wrap" id="_content" data-uid="IPA.Logging.Printers.ColorlessConsolePrinter">
  63. <h1 id="IPA_Logging_Printers_ColorlessConsolePrinter" data-uid="IPA.Logging.Printers.ColorlessConsolePrinter" class="text-break">Class ColorlessConsolePrinter
  64. </h1>
  65. <div class="markdown level0 summary"><p>A colorless version of <a class="xref" href="IPA.Logging.Printers.ColoredConsolePrinter.html">ColoredConsolePrinter</a>, that indiscriminantly prints to standard out.</p>
  66. </div>
  67. <div class="markdown level0 conceptual"></div>
  68. <div class="inheritance">
  69. <h5>Inheritance</h5>
  70. <div class="level0"><span class="xref">System.Object</span></div>
  71. <div class="level1"><a class="xref" href="IPA.Logging.LogPrinter.html">LogPrinter</a></div>
  72. <div class="level2"><span class="xref">ColorlessConsolePrinter</span></div>
  73. </div>
  74. <div class="inheritedMembers">
  75. <h5>Inherited Members</h5>
  76. <div>
  77. <a class="xref" href="IPA.Logging.LogPrinter.html#IPA_Logging_LogPrinter_StartPrint">LogPrinter.StartPrint()</a>
  78. </div>
  79. <div>
  80. <a class="xref" href="IPA.Logging.LogPrinter.html#IPA_Logging_LogPrinter_EndPrint">LogPrinter.EndPrint()</a>
  81. </div>
  82. <div>
  83. <span class="xref">System.Object.ToString()</span>
  84. </div>
  85. <div>
  86. <span class="xref">System.Object.Equals(System.Object)</span>
  87. </div>
  88. <div>
  89. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  90. </div>
  91. <div>
  92. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  93. </div>
  94. <div>
  95. <span class="xref">System.Object.GetHashCode()</span>
  96. </div>
  97. <div>
  98. <span class="xref">System.Object.GetType()</span>
  99. </div>
  100. <div>
  101. <span class="xref">System.Object.MemberwiseClone()</span>
  102. </div>
  103. </div>
  104. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Logging.Printers.html">IPA.Logging.Printers</a></h6>
  105. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  106. <h5 id="IPA_Logging_Printers_ColorlessConsolePrinter_syntax">Syntax</h5>
  107. <div class="codewrapper">
  108. <pre><code class="lang-csharp hljs">public class ColorlessConsolePrinter : LogPrinter</code></pre>
  109. </div>
  110. <h3 id="properties">Properties
  111. </h3>
  112. <span class="small pull-right mobile-hide">
  113. <span class="divider">|</span>
  114. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Printers_ColorlessConsolePrinter_Filter.md&amp;value=---%0Auid%3A%20IPA.Logging.Printers.ColorlessConsolePrinter.Filter%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  115. </span>
  116. <span class="small pull-right mobile-hide">
  117. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Printers/ColorlessConsolePrinter.cs/#L14">View Source</a>
  118. </span>
  119. <a id="IPA_Logging_Printers_ColorlessConsolePrinter_Filter_" data-uid="IPA.Logging.Printers.ColorlessConsolePrinter.Filter*"></a>
  120. <h4 id="IPA_Logging_Printers_ColorlessConsolePrinter_Filter" data-uid="IPA.Logging.Printers.ColorlessConsolePrinter.Filter">Filter</h4>
  121. <div class="markdown level1 summary"><p>A filter for this specific printer.</p>
  122. </div>
  123. <div class="markdown level1 conceptual"></div>
  124. <h5 class="decalaration">Declaration</h5>
  125. <div class="codewrapper">
  126. <pre><code class="lang-csharp hljs">public override Logger.LogLevel Filter { get; set; }</code></pre>
  127. </div>
  128. <h5 class="propertyValue">Property Value</h5>
  129. <table class="table table-bordered table-striped table-condensed">
  130. <thead>
  131. <tr>
  132. <th>Type</th>
  133. <th>Description</th>
  134. </tr>
  135. </thead>
  136. <tbody>
  137. <tr>
  138. <td><a class="xref" href="IPA.Logging.Logger.LogLevel.html">Logger.LogLevel</a></td>
  139. <td><p>the filter level for this printer</p>
  140. </td>
  141. </tr>
  142. </tbody>
  143. </table>
  144. <h5 class="overrides">Overrides</h5>
  145. <div><a class="xref" href="IPA.Logging.LogPrinter.html#IPA_Logging_LogPrinter_Filter">LogPrinter.Filter</a></div>
  146. <h3 id="methods">Methods
  147. </h3>
  148. <span class="small pull-right mobile-hide">
  149. <span class="divider">|</span>
  150. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Printers_ColorlessConsolePrinter_Print_IPA_Logging_Logger_Level_System_DateTime_System_String_System_String_.md&amp;value=---%0Auid%3A%20IPA.Logging.Printers.ColorlessConsolePrinter.Print(IPA.Logging.Logger.Level%2CSystem.DateTime%2CSystem.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  151. </span>
  152. <span class="small pull-right mobile-hide">
  153. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Printers/ColorlessConsolePrinter.cs/#L23">View Source</a>
  154. </span>
  155. <a id="IPA_Logging_Printers_ColorlessConsolePrinter_Print_" data-uid="IPA.Logging.Printers.ColorlessConsolePrinter.Print*"></a>
  156. <h4 id="IPA_Logging_Printers_ColorlessConsolePrinter_Print_IPA_Logging_Logger_Level_System_DateTime_System_String_System_String_" data-uid="IPA.Logging.Printers.ColorlessConsolePrinter.Print(IPA.Logging.Logger.Level,System.DateTime,System.String,System.String)">Print(Logger.Level, DateTime, String, String)</h4>
  157. <div class="markdown level1 summary"><p>Prints an entry to standard out.</p>
  158. </div>
  159. <div class="markdown level1 conceptual"></div>
  160. <h5 class="decalaration">Declaration</h5>
  161. <div class="codewrapper">
  162. <pre><code class="lang-csharp hljs">public override void Print(Logger.Level level, DateTime time, string logName, string message)</code></pre>
  163. </div>
  164. <h5 class="parameters">Parameters</h5>
  165. <table class="table table-bordered table-striped table-condensed">
  166. <thead>
  167. <tr>
  168. <th>Type</th>
  169. <th>Name</th>
  170. <th>Description</th>
  171. </tr>
  172. </thead>
  173. <tbody>
  174. <tr>
  175. <td><a class="xref" href="IPA.Logging.Logger.Level.html">Logger.Level</a></td>
  176. <td><span class="parametername">level</span></td>
  177. <td><p>the <a class="xref" href="IPA.Logging.Logger.Level.html">Logger.Level</a> of the message</p>
  178. </td>
  179. </tr>
  180. <tr>
  181. <td><span class="xref">System.DateTime</span></td>
  182. <td><span class="parametername">time</span></td>
  183. <td><p>the <span class="xref">System.DateTime</span> the message was recorded at</p>
  184. </td>
  185. </tr>
  186. <tr>
  187. <td><span class="xref">System.String</span></td>
  188. <td><span class="parametername">logName</span></td>
  189. <td><p>the name of the log that sent the message</p>
  190. </td>
  191. </tr>
  192. <tr>
  193. <td><span class="xref">System.String</span></td>
  194. <td><span class="parametername">message</span></td>
  195. <td><p>the message to print</p>
  196. </td>
  197. </tr>
  198. </tbody>
  199. </table>
  200. <h5 class="overrides">Overrides</h5>
  201. <div><a class="xref" href="IPA.Logging.LogPrinter.html#IPA_Logging_LogPrinter_Print_IPA_Logging_Logger_Level_System_DateTime_System_String_System_String_">LogPrinter.Print(Logger.Level, DateTime, String, String)</a></div>
  202. <h3 id="extensionmethods">Extension Methods</h3>
  203. <div>
  204. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetPrivateField_System_Object_System_String_System_Object_">ReflectionUtil.SetPrivateField(Object, String, Object)</a>
  205. </div>
  206. <div>
  207. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_GetPrivateField__1_System_Object_System_String_">ReflectionUtil.GetPrivateField&lt;T&gt;(Object, String)</a>
  208. </div>
  209. <div>
  210. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetPrivateProperty_System_Object_System_String_System_Object_">ReflectionUtil.SetPrivateProperty(Object, String, Object)</a>
  211. </div>
  212. <div>
  213. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokePrivateMethod_System_Object_System_String_System_Object___">ReflectionUtil.InvokePrivateMethod(Object, String, Object[])</a>
  214. </div>
  215. <div>
  216. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokePrivateMethod__1_System_Object_System_String_System_Object___">ReflectionUtil.InvokePrivateMethod&lt;T&gt;(Object, String, Object[])</a>
  217. </div>
  218. </article>
  219. </div>
  220. <div class="hidden-sm col-md-2" role="complementary">
  221. <div class="sideaffix">
  222. <div class="contribution">
  223. <ul class="nav">
  224. <li>
  225. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Printers_ColorlessConsolePrinter.md&amp;value=---%0Auid%3A%20IPA.Logging.Printers.ColorlessConsolePrinter%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  226. </li>
  227. <li>
  228. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Printers/ColorlessConsolePrinter.cs/#L8" class="contribution-link">View Source</a>
  229. </li>
  230. </ul>
  231. </div>
  232. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  233. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  234. </nav>
  235. </div>
  236. </div>
  237. </div>
  238. </div>
  239. <footer>
  240. <div class="grad-bottom"></div>
  241. <div class="footer">
  242. <div class="container">
  243. <span class="pull-right">
  244. <a href="#top">Back to top</a>
  245. </span>
  246. <span>Generated by <strong>DocFX</strong></span>
  247. </div>
  248. </div>
  249. </footer>
  250. </div>
  251. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  252. <script type="text/javascript" src="../styles/docfx.js"></script>
  253. <script type="text/javascript" src="../styles/main.js"></script>
  254. </body>
  255. </html>