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.

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