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.

759 lines
37 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 Logger
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Logger
  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. <meta property="docfx:navrel" content="../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. </head>
  20. <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.Logger">
  63. <h1 id="IPA_Logging_Logger" data-uid="IPA.Logging.Logger" class="text-break">Class Logger
  64. </h1>
  65. <div class="markdown level0 summary"><p>The logger base class. Provides the format for console logs.</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"><span class="xref">Logger</span></div>
  72. <div class="level2"><a class="xref" href="IPA.Logging.StandardLogger.html">StandardLogger</a></div>
  73. </div>
  74. <div class="inheritedMembers">
  75. <h5>Inherited Members</h5>
  76. <div>
  77. <span class="xref">System.Object.ToString()</span>
  78. </div>
  79. <div>
  80. <span class="xref">System.Object.Equals(System.Object)</span>
  81. </div>
  82. <div>
  83. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  84. </div>
  85. <div>
  86. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  87. </div>
  88. <div>
  89. <span class="xref">System.Object.GetHashCode()</span>
  90. </div>
  91. <div>
  92. <span class="xref">System.Object.GetType()</span>
  93. </div>
  94. <div>
  95. <span class="xref">System.Object.MemberwiseClone()</span>
  96. </div>
  97. </div>
  98. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Logging.html">IPA.Logging</a></h6>
  99. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  100. <h5 id="IPA_Logging_Logger_syntax">Syntax</h5>
  101. <div class="codewrapper">
  102. <pre><code class="lang-csharp hljs">public abstract class Logger</code></pre>
  103. </div>
  104. <h3 id="properties">Properties
  105. </h3>
  106. <span class="small pull-right mobile-hide">
  107. <span class="divider">|</span>
  108. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_LogFormat.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.LogFormat%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>
  109. </span>
  110. <span class="small pull-right mobile-hide">
  111. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L47">View Source</a>
  112. </span>
  113. <a id="IPA_Logging_Logger_LogFormat_" data-uid="IPA.Logging.Logger.LogFormat*"></a>
  114. <h4 id="IPA_Logging_Logger_LogFormat" data-uid="IPA.Logging.Logger.LogFormat">LogFormat</h4>
  115. <div class="markdown level1 summary"><p>The standard format for log messages.</p>
  116. </div>
  117. <div class="markdown level1 conceptual"></div>
  118. <h5 class="decalaration">Declaration</h5>
  119. <div class="codewrapper">
  120. <pre><code class="lang-csharp hljs">public static string LogFormat { get; protected set; }</code></pre>
  121. </div>
  122. <h5 class="propertyValue">Property Value</h5>
  123. <table class="table table-bordered table-striped table-condensed">
  124. <thead>
  125. <tr>
  126. <th>Type</th>
  127. <th>Description</th>
  128. </tr>
  129. </thead>
  130. <tbody>
  131. <tr>
  132. <td><span class="xref">System.String</span></td>
  133. <td><p>the format for the standard loggers to print in</p>
  134. </td>
  135. </tr>
  136. </tbody>
  137. </table>
  138. <h3 id="methods">Methods
  139. </h3>
  140. <span class="small pull-right mobile-hide">
  141. <span class="divider">|</span>
  142. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Critical_System_Exception_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Critical(System.Exception)%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>
  143. </span>
  144. <span class="small pull-right mobile-hide">
  145. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L270">View Source</a>
  146. </span>
  147. <a id="IPA_Logging_Logger_Critical_" data-uid="IPA.Logging.Logger.Critical*"></a>
  148. <h4 id="IPA_Logging_Logger_Critical_System_Exception_" data-uid="IPA.Logging.Logger.Critical(System.Exception)">Critical(Exception)</h4>
  149. <div class="markdown level1 summary"><p>Sends an exception as a critical message.
  150. Equivalent to <code>Log(Level.Critical, e);</code></p>
  151. </div>
  152. <div class="markdown level1 conceptual"></div>
  153. <h5 class="decalaration">Declaration</h5>
  154. <div class="codewrapper">
  155. <pre><code class="lang-csharp hljs">public virtual void Critical(Exception e)</code></pre>
  156. </div>
  157. <h5 class="parameters">Parameters</h5>
  158. <table class="table table-bordered table-striped table-condensed">
  159. <thead>
  160. <tr>
  161. <th>Type</th>
  162. <th>Name</th>
  163. <th>Description</th>
  164. </tr>
  165. </thead>
  166. <tbody>
  167. <tr>
  168. <td><span class="xref">System.Exception</span></td>
  169. <td><span class="parametername">e</span></td>
  170. <td><p>the exception to log</p>
  171. </td>
  172. </tr>
  173. </tbody>
  174. </table>
  175. <h5 id="IPA_Logging_Logger_Critical_System_Exception__seealso">See Also</h5>
  176. <div class="seealso">
  177. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_Exception_">Log(Logger.Level, Exception)</a></div>
  178. </div>
  179. <span class="small pull-right mobile-hide">
  180. <span class="divider">|</span>
  181. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Critical_System_String_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Critical(System.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>
  182. </span>
  183. <span class="small pull-right mobile-hide">
  184. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L262">View Source</a>
  185. </span>
  186. <a id="IPA_Logging_Logger_Critical_" data-uid="IPA.Logging.Logger.Critical*"></a>
  187. <h4 id="IPA_Logging_Logger_Critical_System_String_" data-uid="IPA.Logging.Logger.Critical(System.String)">Critical(String)</h4>
  188. <div class="markdown level1 summary"><p>Sends a critical message.
  189. Equivalent to <code>Log(Level.Critical, message);</code></p>
  190. </div>
  191. <div class="markdown level1 conceptual"></div>
  192. <h5 class="decalaration">Declaration</h5>
  193. <div class="codewrapper">
  194. <pre><code class="lang-csharp hljs">public virtual void Critical(string message)</code></pre>
  195. </div>
  196. <h5 class="parameters">Parameters</h5>
  197. <table class="table table-bordered table-striped table-condensed">
  198. <thead>
  199. <tr>
  200. <th>Type</th>
  201. <th>Name</th>
  202. <th>Description</th>
  203. </tr>
  204. </thead>
  205. <tbody>
  206. <tr>
  207. <td><span class="xref">System.String</span></td>
  208. <td><span class="parametername">message</span></td>
  209. <td><p>the message to log</p>
  210. </td>
  211. </tr>
  212. </tbody>
  213. </table>
  214. <h5 id="IPA_Logging_Logger_Critical_System_String__seealso">See Also</h5>
  215. <div class="seealso">
  216. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_String_">Log(Logger.Level, String)</a></div>
  217. </div>
  218. <span class="small pull-right mobile-hide">
  219. <span class="divider">|</span>
  220. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Debug_System_Exception_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Debug(System.Exception)%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>
  221. </span>
  222. <span class="small pull-right mobile-hide">
  223. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L190">View Source</a>
  224. </span>
  225. <a id="IPA_Logging_Logger_Debug_" data-uid="IPA.Logging.Logger.Debug*"></a>
  226. <h4 id="IPA_Logging_Logger_Debug_System_Exception_" data-uid="IPA.Logging.Logger.Debug(System.Exception)">Debug(Exception)</h4>
  227. <div class="markdown level1 summary"><p>Sends an exception as a debug message.
  228. Equivalent to <code>Log(Level.Debug, e);</code></p>
  229. </div>
  230. <div class="markdown level1 conceptual"></div>
  231. <h5 class="decalaration">Declaration</h5>
  232. <div class="codewrapper">
  233. <pre><code class="lang-csharp hljs">public virtual void Debug(Exception e)</code></pre>
  234. </div>
  235. <h5 class="parameters">Parameters</h5>
  236. <table class="table table-bordered table-striped table-condensed">
  237. <thead>
  238. <tr>
  239. <th>Type</th>
  240. <th>Name</th>
  241. <th>Description</th>
  242. </tr>
  243. </thead>
  244. <tbody>
  245. <tr>
  246. <td><span class="xref">System.Exception</span></td>
  247. <td><span class="parametername">e</span></td>
  248. <td><p>the exception to log</p>
  249. </td>
  250. </tr>
  251. </tbody>
  252. </table>
  253. <h5 id="IPA_Logging_Logger_Debug_System_Exception__seealso">See Also</h5>
  254. <div class="seealso">
  255. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_Exception_">Log(Logger.Level, Exception)</a></div>
  256. </div>
  257. <span class="small pull-right mobile-hide">
  258. <span class="divider">|</span>
  259. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Debug_System_String_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Debug(System.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>
  260. </span>
  261. <span class="small pull-right mobile-hide">
  262. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L182">View Source</a>
  263. </span>
  264. <a id="IPA_Logging_Logger_Debug_" data-uid="IPA.Logging.Logger.Debug*"></a>
  265. <h4 id="IPA_Logging_Logger_Debug_System_String_" data-uid="IPA.Logging.Logger.Debug(System.String)">Debug(String)</h4>
  266. <div class="markdown level1 summary"><p>Sends a debug message.
  267. Equivalent to <code>Log(Level.Debug, message);</code></p>
  268. </div>
  269. <div class="markdown level1 conceptual"></div>
  270. <h5 class="decalaration">Declaration</h5>
  271. <div class="codewrapper">
  272. <pre><code class="lang-csharp hljs">public virtual void Debug(string message)</code></pre>
  273. </div>
  274. <h5 class="parameters">Parameters</h5>
  275. <table class="table table-bordered table-striped table-condensed">
  276. <thead>
  277. <tr>
  278. <th>Type</th>
  279. <th>Name</th>
  280. <th>Description</th>
  281. </tr>
  282. </thead>
  283. <tbody>
  284. <tr>
  285. <td><span class="xref">System.String</span></td>
  286. <td><span class="parametername">message</span></td>
  287. <td><p>the message to log</p>
  288. </td>
  289. </tr>
  290. </tbody>
  291. </table>
  292. <h5 id="IPA_Logging_Logger_Debug_System_String__seealso">See Also</h5>
  293. <div class="seealso">
  294. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_String_">Log(Logger.Level, String)</a></div>
  295. </div>
  296. <span class="small pull-right mobile-hide">
  297. <span class="divider">|</span>
  298. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Error_System_Exception_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Error(System.Exception)%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>
  299. </span>
  300. <span class="small pull-right mobile-hide">
  301. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L254">View Source</a>
  302. </span>
  303. <a id="IPA_Logging_Logger_Error_" data-uid="IPA.Logging.Logger.Error*"></a>
  304. <h4 id="IPA_Logging_Logger_Error_System_Exception_" data-uid="IPA.Logging.Logger.Error(System.Exception)">Error(Exception)</h4>
  305. <div class="markdown level1 summary"><p>Sends an exception as an error message.
  306. Equivalent to <code>Log(Level.Error, e);</code></p>
  307. </div>
  308. <div class="markdown level1 conceptual"></div>
  309. <h5 class="decalaration">Declaration</h5>
  310. <div class="codewrapper">
  311. <pre><code class="lang-csharp hljs">public virtual void Error(Exception e)</code></pre>
  312. </div>
  313. <h5 class="parameters">Parameters</h5>
  314. <table class="table table-bordered table-striped table-condensed">
  315. <thead>
  316. <tr>
  317. <th>Type</th>
  318. <th>Name</th>
  319. <th>Description</th>
  320. </tr>
  321. </thead>
  322. <tbody>
  323. <tr>
  324. <td><span class="xref">System.Exception</span></td>
  325. <td><span class="parametername">e</span></td>
  326. <td><p>the exception to log</p>
  327. </td>
  328. </tr>
  329. </tbody>
  330. </table>
  331. <h5 id="IPA_Logging_Logger_Error_System_Exception__seealso">See Also</h5>
  332. <div class="seealso">
  333. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_Exception_">Log(Logger.Level, Exception)</a></div>
  334. </div>
  335. <span class="small pull-right mobile-hide">
  336. <span class="divider">|</span>
  337. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Error_System_String_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Error(System.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>
  338. </span>
  339. <span class="small pull-right mobile-hide">
  340. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L246">View Source</a>
  341. </span>
  342. <a id="IPA_Logging_Logger_Error_" data-uid="IPA.Logging.Logger.Error*"></a>
  343. <h4 id="IPA_Logging_Logger_Error_System_String_" data-uid="IPA.Logging.Logger.Error(System.String)">Error(String)</h4>
  344. <div class="markdown level1 summary"><p>Sends an error message.
  345. Equivalent to <code>Log(Level.Error, message);</code></p>
  346. </div>
  347. <div class="markdown level1 conceptual"></div>
  348. <h5 class="decalaration">Declaration</h5>
  349. <div class="codewrapper">
  350. <pre><code class="lang-csharp hljs">public virtual void Error(string message)</code></pre>
  351. </div>
  352. <h5 class="parameters">Parameters</h5>
  353. <table class="table table-bordered table-striped table-condensed">
  354. <thead>
  355. <tr>
  356. <th>Type</th>
  357. <th>Name</th>
  358. <th>Description</th>
  359. </tr>
  360. </thead>
  361. <tbody>
  362. <tr>
  363. <td><span class="xref">System.String</span></td>
  364. <td><span class="parametername">message</span></td>
  365. <td><p>the message to log</p>
  366. </td>
  367. </tr>
  368. </tbody>
  369. </table>
  370. <h5 id="IPA_Logging_Logger_Error_System_String__seealso">See Also</h5>
  371. <div class="seealso">
  372. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_String_">Log(Logger.Level, String)</a></div>
  373. </div>
  374. <span class="small pull-right mobile-hide">
  375. <span class="divider">|</span>
  376. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Info_System_Exception_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Info(System.Exception)%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>
  377. </span>
  378. <span class="small pull-right mobile-hide">
  379. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L206">View Source</a>
  380. </span>
  381. <a id="IPA_Logging_Logger_Info_" data-uid="IPA.Logging.Logger.Info*"></a>
  382. <h4 id="IPA_Logging_Logger_Info_System_Exception_" data-uid="IPA.Logging.Logger.Info(System.Exception)">Info(Exception)</h4>
  383. <div class="markdown level1 summary"><p>Sends an exception as an info message.
  384. Equivalent to <code>Log(Level.Info, e);</code></p>
  385. </div>
  386. <div class="markdown level1 conceptual"></div>
  387. <h5 class="decalaration">Declaration</h5>
  388. <div class="codewrapper">
  389. <pre><code class="lang-csharp hljs">public virtual void Info(Exception e)</code></pre>
  390. </div>
  391. <h5 class="parameters">Parameters</h5>
  392. <table class="table table-bordered table-striped table-condensed">
  393. <thead>
  394. <tr>
  395. <th>Type</th>
  396. <th>Name</th>
  397. <th>Description</th>
  398. </tr>
  399. </thead>
  400. <tbody>
  401. <tr>
  402. <td><span class="xref">System.Exception</span></td>
  403. <td><span class="parametername">e</span></td>
  404. <td><p>the exception to log</p>
  405. </td>
  406. </tr>
  407. </tbody>
  408. </table>
  409. <h5 id="IPA_Logging_Logger_Info_System_Exception__seealso">See Also</h5>
  410. <div class="seealso">
  411. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_Exception_">Log(Logger.Level, Exception)</a></div>
  412. </div>
  413. <span class="small pull-right mobile-hide">
  414. <span class="divider">|</span>
  415. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Info_System_String_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Info(System.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>
  416. </span>
  417. <span class="small pull-right mobile-hide">
  418. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L198">View Source</a>
  419. </span>
  420. <a id="IPA_Logging_Logger_Info_" data-uid="IPA.Logging.Logger.Info*"></a>
  421. <h4 id="IPA_Logging_Logger_Info_System_String_" data-uid="IPA.Logging.Logger.Info(System.String)">Info(String)</h4>
  422. <div class="markdown level1 summary"><p>Sends an info message.
  423. Equivalent to <code>Log(Level.Info, message);</code></p>
  424. </div>
  425. <div class="markdown level1 conceptual"></div>
  426. <h5 class="decalaration">Declaration</h5>
  427. <div class="codewrapper">
  428. <pre><code class="lang-csharp hljs">public virtual void Info(string message)</code></pre>
  429. </div>
  430. <h5 class="parameters">Parameters</h5>
  431. <table class="table table-bordered table-striped table-condensed">
  432. <thead>
  433. <tr>
  434. <th>Type</th>
  435. <th>Name</th>
  436. <th>Description</th>
  437. </tr>
  438. </thead>
  439. <tbody>
  440. <tr>
  441. <td><span class="xref">System.String</span></td>
  442. <td><span class="parametername">message</span></td>
  443. <td><p>the message to log</p>
  444. </td>
  445. </tr>
  446. </tbody>
  447. </table>
  448. <h5 id="IPA_Logging_Logger_Info_System_String__seealso">See Also</h5>
  449. <div class="seealso">
  450. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_String_">Log(Logger.Level, String)</a></div>
  451. </div>
  452. <span class="small pull-right mobile-hide">
  453. <span class="divider">|</span>
  454. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_Exception_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Log(IPA.Logging.Logger.Level%2CSystem.Exception)%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>
  455. </span>
  456. <span class="small pull-right mobile-hide">
  457. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L174">View Source</a>
  458. </span>
  459. <a id="IPA_Logging_Logger_Log_" data-uid="IPA.Logging.Logger.Log*"></a>
  460. <h4 id="IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_Exception_" data-uid="IPA.Logging.Logger.Log(IPA.Logging.Logger.Level,System.Exception)">Log(Logger.Level, Exception)</h4>
  461. <div class="markdown level1 summary"><p>A basic log function taking an exception to log.</p>
  462. </div>
  463. <div class="markdown level1 conceptual"></div>
  464. <h5 class="decalaration">Declaration</h5>
  465. <div class="codewrapper">
  466. <pre><code class="lang-csharp hljs">public virtual void Log(Logger.Level level, Exception e)</code></pre>
  467. </div>
  468. <h5 class="parameters">Parameters</h5>
  469. <table class="table table-bordered table-striped table-condensed">
  470. <thead>
  471. <tr>
  472. <th>Type</th>
  473. <th>Name</th>
  474. <th>Description</th>
  475. </tr>
  476. </thead>
  477. <tbody>
  478. <tr>
  479. <td><a class="xref" href="IPA.Logging.Logger.Level.html">Logger.Level</a></td>
  480. <td><span class="parametername">level</span></td>
  481. <td><p>the level of the message</p>
  482. </td>
  483. </tr>
  484. <tr>
  485. <td><span class="xref">System.Exception</span></td>
  486. <td><span class="parametername">e</span></td>
  487. <td><p>the exception to log</p>
  488. </td>
  489. </tr>
  490. </tbody>
  491. </table>
  492. <span class="small pull-right mobile-hide">
  493. <span class="divider">|</span>
  494. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_String_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Log(IPA.Logging.Logger.Level%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>
  495. </span>
  496. <span class="small pull-right mobile-hide">
  497. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L167">View Source</a>
  498. </span>
  499. <a id="IPA_Logging_Logger_Log_" data-uid="IPA.Logging.Logger.Log*"></a>
  500. <h4 id="IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_String_" data-uid="IPA.Logging.Logger.Log(IPA.Logging.Logger.Level,System.String)">Log(Logger.Level, String)</h4>
  501. <div class="markdown level1 summary"><p>A basic log function.</p>
  502. </div>
  503. <div class="markdown level1 conceptual"></div>
  504. <h5 class="decalaration">Declaration</h5>
  505. <div class="codewrapper">
  506. <pre><code class="lang-csharp hljs">public abstract void Log(Logger.Level level, string message)</code></pre>
  507. </div>
  508. <h5 class="parameters">Parameters</h5>
  509. <table class="table table-bordered table-striped table-condensed">
  510. <thead>
  511. <tr>
  512. <th>Type</th>
  513. <th>Name</th>
  514. <th>Description</th>
  515. </tr>
  516. </thead>
  517. <tbody>
  518. <tr>
  519. <td><a class="xref" href="IPA.Logging.Logger.Level.html">Logger.Level</a></td>
  520. <td><span class="parametername">level</span></td>
  521. <td><p>the level of the message</p>
  522. </td>
  523. </tr>
  524. <tr>
  525. <td><span class="xref">System.String</span></td>
  526. <td><span class="parametername">message</span></td>
  527. <td><p>the message to log</p>
  528. </td>
  529. </tr>
  530. </tbody>
  531. </table>
  532. <span class="small pull-right mobile-hide">
  533. <span class="divider">|</span>
  534. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Notice_System_Exception_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Notice(System.Exception)%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>
  535. </span>
  536. <span class="small pull-right mobile-hide">
  537. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L222">View Source</a>
  538. </span>
  539. <a id="IPA_Logging_Logger_Notice_" data-uid="IPA.Logging.Logger.Notice*"></a>
  540. <h4 id="IPA_Logging_Logger_Notice_System_Exception_" data-uid="IPA.Logging.Logger.Notice(System.Exception)">Notice(Exception)</h4>
  541. <div class="markdown level1 summary"><p>Sends an exception as a notice message.
  542. Equivalent to <code>Log(Level.Notice, e);</code></p>
  543. </div>
  544. <div class="markdown level1 conceptual"></div>
  545. <h5 class="decalaration">Declaration</h5>
  546. <div class="codewrapper">
  547. <pre><code class="lang-csharp hljs">public virtual void Notice(Exception e)</code></pre>
  548. </div>
  549. <h5 class="parameters">Parameters</h5>
  550. <table class="table table-bordered table-striped table-condensed">
  551. <thead>
  552. <tr>
  553. <th>Type</th>
  554. <th>Name</th>
  555. <th>Description</th>
  556. </tr>
  557. </thead>
  558. <tbody>
  559. <tr>
  560. <td><span class="xref">System.Exception</span></td>
  561. <td><span class="parametername">e</span></td>
  562. <td><p>the exception to log</p>
  563. </td>
  564. </tr>
  565. </tbody>
  566. </table>
  567. <h5 id="IPA_Logging_Logger_Notice_System_Exception__seealso">See Also</h5>
  568. <div class="seealso">
  569. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_Exception_">Log(Logger.Level, Exception)</a></div>
  570. </div>
  571. <span class="small pull-right mobile-hide">
  572. <span class="divider">|</span>
  573. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Notice_System_String_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Notice(System.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>
  574. </span>
  575. <span class="small pull-right mobile-hide">
  576. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L214">View Source</a>
  577. </span>
  578. <a id="IPA_Logging_Logger_Notice_" data-uid="IPA.Logging.Logger.Notice*"></a>
  579. <h4 id="IPA_Logging_Logger_Notice_System_String_" data-uid="IPA.Logging.Logger.Notice(System.String)">Notice(String)</h4>
  580. <div class="markdown level1 summary"><p>Sends a notice message.
  581. Equivalent to <code>Log(Level.Notice, message);</code></p>
  582. </div>
  583. <div class="markdown level1 conceptual"></div>
  584. <h5 class="decalaration">Declaration</h5>
  585. <div class="codewrapper">
  586. <pre><code class="lang-csharp hljs">public virtual void Notice(string message)</code></pre>
  587. </div>
  588. <h5 class="parameters">Parameters</h5>
  589. <table class="table table-bordered table-striped table-condensed">
  590. <thead>
  591. <tr>
  592. <th>Type</th>
  593. <th>Name</th>
  594. <th>Description</th>
  595. </tr>
  596. </thead>
  597. <tbody>
  598. <tr>
  599. <td><span class="xref">System.String</span></td>
  600. <td><span class="parametername">message</span></td>
  601. <td><p>the message to log</p>
  602. </td>
  603. </tr>
  604. </tbody>
  605. </table>
  606. <h5 id="IPA_Logging_Logger_Notice_System_String__seealso">See Also</h5>
  607. <div class="seealso">
  608. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_String_">Log(Logger.Level, String)</a></div>
  609. </div>
  610. <span class="small pull-right mobile-hide">
  611. <span class="divider">|</span>
  612. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Warn_System_Exception_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Warn(System.Exception)%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>
  613. </span>
  614. <span class="small pull-right mobile-hide">
  615. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L238">View Source</a>
  616. </span>
  617. <a id="IPA_Logging_Logger_Warn_" data-uid="IPA.Logging.Logger.Warn*"></a>
  618. <h4 id="IPA_Logging_Logger_Warn_System_Exception_" data-uid="IPA.Logging.Logger.Warn(System.Exception)">Warn(Exception)</h4>
  619. <div class="markdown level1 summary"><p>Sends an exception as a warning message.
  620. Equivalent to <code>Log(Level.Warning, e);</code></p>
  621. </div>
  622. <div class="markdown level1 conceptual"></div>
  623. <h5 class="decalaration">Declaration</h5>
  624. <div class="codewrapper">
  625. <pre><code class="lang-csharp hljs">public virtual void Warn(Exception e)</code></pre>
  626. </div>
  627. <h5 class="parameters">Parameters</h5>
  628. <table class="table table-bordered table-striped table-condensed">
  629. <thead>
  630. <tr>
  631. <th>Type</th>
  632. <th>Name</th>
  633. <th>Description</th>
  634. </tr>
  635. </thead>
  636. <tbody>
  637. <tr>
  638. <td><span class="xref">System.Exception</span></td>
  639. <td><span class="parametername">e</span></td>
  640. <td><p>the exception to log</p>
  641. </td>
  642. </tr>
  643. </tbody>
  644. </table>
  645. <h5 id="IPA_Logging_Logger_Warn_System_Exception__seealso">See Also</h5>
  646. <div class="seealso">
  647. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_Exception_">Log(Logger.Level, Exception)</a></div>
  648. </div>
  649. <span class="small pull-right mobile-hide">
  650. <span class="divider">|</span>
  651. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger_Warn_System_String_.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger.Warn(System.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>
  652. </span>
  653. <span class="small pull-right mobile-hide">
  654. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L230">View Source</a>
  655. </span>
  656. <a id="IPA_Logging_Logger_Warn_" data-uid="IPA.Logging.Logger.Warn*"></a>
  657. <h4 id="IPA_Logging_Logger_Warn_System_String_" data-uid="IPA.Logging.Logger.Warn(System.String)">Warn(String)</h4>
  658. <div class="markdown level1 summary"><p>Sends a warning message.
  659. Equivalent to <code>Log(Level.Warning, message);</code></p>
  660. </div>
  661. <div class="markdown level1 conceptual"></div>
  662. <h5 class="decalaration">Declaration</h5>
  663. <div class="codewrapper">
  664. <pre><code class="lang-csharp hljs">public virtual void Warn(string message)</code></pre>
  665. </div>
  666. <h5 class="parameters">Parameters</h5>
  667. <table class="table table-bordered table-striped table-condensed">
  668. <thead>
  669. <tr>
  670. <th>Type</th>
  671. <th>Name</th>
  672. <th>Description</th>
  673. </tr>
  674. </thead>
  675. <tbody>
  676. <tr>
  677. <td><span class="xref">System.String</span></td>
  678. <td><span class="parametername">message</span></td>
  679. <td><p>the message to log</p>
  680. </td>
  681. </tr>
  682. </tbody>
  683. </table>
  684. <h5 id="IPA_Logging_Logger_Warn_System_String__seealso">See Also</h5>
  685. <div class="seealso">
  686. <div><a class="xref" href="IPA.Logging.Logger.html#IPA_Logging_Logger_Log_IPA_Logging_Logger_Level_System_String_">Log(Logger.Level, String)</a></div>
  687. </div>
  688. <h3 id="extensionmethods">Extension Methods</h3>
  689. <div>
  690. <a class="xref" href="IPA.Logging.LoggerExtensions.html#IPA_Logging_LoggerExtensions_GetChildLogger_IPA_Logging_Logger_System_String_">LoggerExtensions.GetChildLogger(Logger, String)</a>
  691. </div>
  692. <div>
  693. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetPrivateField_System_Object_System_String_System_Object_">ReflectionUtil.SetPrivateField(Object, String, Object)</a>
  694. </div>
  695. <div>
  696. <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>
  697. </div>
  698. <div>
  699. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetPrivateProperty_System_Object_System_String_System_Object_">ReflectionUtil.SetPrivateProperty(Object, String, Object)</a>
  700. </div>
  701. <div>
  702. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokePrivateMethod_System_Object_System_String_System_Object___">ReflectionUtil.InvokePrivateMethod(Object, String, Object[])</a>
  703. </div>
  704. <div>
  705. <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>
  706. </div>
  707. </article>
  708. </div>
  709. <div class="hidden-sm col-md-2" role="complementary">
  710. <div class="sideaffix">
  711. <div class="contribution">
  712. <ul class="nav">
  713. <li>
  714. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Logging_Logger.md&amp;value=---%0Auid%3A%20IPA.Logging.Logger%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>
  715. </li>
  716. <li>
  717. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Logging/Logger.cs/#L10" class="contribution-link">View Source</a>
  718. </li>
  719. </ul>
  720. </div>
  721. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  722. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  723. </nav>
  724. </div>
  725. </div>
  726. </div>
  727. </div>
  728. <footer>
  729. <div class="grad-bottom"></div>
  730. <div class="footer">
  731. <div class="container">
  732. <span class="pull-right">
  733. <a href="#top">Back to top</a>
  734. </span>
  735. <span>Generated by <strong>DocFX</strong></span>
  736. </div>
  737. </div>
  738. </footer>
  739. </div>
  740. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  741. <script type="text/javascript" src="../styles/docfx.js"></script>
  742. <script type="text/javascript" src="../styles/main.js"></script>
  743. </body>
  744. </html>