ok
Direktori : /opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.8/rdoc/Rack/ |
Current File : //opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.8/rdoc/Rack/NullLogger.html |
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>class Rack::NullLogger - rack-2.2.8 Documentation</title> <script type="text/javascript"> var rdoc_rel_prefix = "../"; var index_rel_prefix = "../"; </script> <script src="../js/navigation.js" defer></script> <script src="../js/search.js" defer></script> <script src="../js/search_index.js" defer></script> <script src="../js/searcher.js" defer></script> <script src="../js/darkfish.js" defer></script> <link href="../css/fonts.css" rel="stylesheet"> <link href="../css/rdoc.css" rel="stylesheet"> <body id="top" role="document" class="class"> <nav role="navigation"> <div id="project-navigation"> <div id="home-section" role="region" title="Quick navigation" class="nav-section"> <h2> <a href="../index.html" rel="home">Home</a> </h2> <div id="table-of-contents-navigation"> <a href="../table_of_contents.html#pages">Pages</a> <a href="../table_of_contents.html#classes">Classes</a> <a href="../table_of_contents.html#methods">Methods</a> </div> </div> <div id="search-section" role="search" class="project-section initially-hidden"> <form action="#" method="get" accept-charset="utf-8"> <div id="search-field-wrapper"> <input id="search-field" role="combobox" aria-label="Search" aria-autocomplete="list" aria-controls="search-results" type="text" name="search" placeholder="Search" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"> </div> <ul id="search-results" aria-label="Search Results" aria-busy="false" aria-expanded="false" aria-atomic="false" class="initially-hidden"></ul> </form> </div> </div> <div id="class-metadata"> <div id="parent-class-section" class="nav-section"> <h3>Parent</h3> <p class="link">Object </div> <!-- Method Quickref --> <div id="method-list-section" class="nav-section"> <h3>Methods</h3> <ul class="link-list" role="directory"> <li ><a href="#method-c-new">::new</a> <li ><a href="#method-i-3C-3C">#<<</a> <li ><a href="#method-i-add">#add</a> <li ><a href="#method-i-call">#call</a> <li ><a href="#method-i-close">#close</a> <li ><a href="#method-i-datetime_format">#datetime_format</a> <li ><a href="#method-i-datetime_format-3D">#datetime_format=</a> <li ><a href="#method-i-debug">#debug</a> <li ><a href="#method-i-debug-3F">#debug?</a> <li ><a href="#method-i-error">#error</a> <li ><a href="#method-i-error-3F">#error?</a> <li ><a href="#method-i-fatal">#fatal</a> <li ><a href="#method-i-fatal-3F">#fatal?</a> <li ><a href="#method-i-formatter">#formatter</a> <li ><a href="#method-i-formatter-3D">#formatter=</a> <li ><a href="#method-i-info">#info</a> <li ><a href="#method-i-info-3F">#info?</a> <li ><a href="#method-i-level">#level</a> <li ><a href="#method-i-level-3D">#level=</a> <li ><a href="#method-i-progname">#progname</a> <li ><a href="#method-i-progname-3D">#progname=</a> <li ><a href="#method-i-sev_threshold">#sev_threshold</a> <li ><a href="#method-i-sev_threshold-3D">#sev_threshold=</a> <li ><a href="#method-i-unknown">#unknown</a> <li ><a href="#method-i-warn">#warn</a> <li ><a href="#method-i-warn-3F">#warn?</a> </ul> </div> </div> </nav> <main role="main" aria-labelledby="class-Rack::NullLogger"> <h1 id="class-Rack::NullLogger" class="class"> class Rack::NullLogger </h1> <section class="description"> </section> <section id="5Buntitled-5D" class="documentation-section"> <section id="public-class-5Buntitled-5D-method-details" class="method-section"> <header> <h3>Public Class Methods</h3> </header> <div id="method-c-new" class="method-detail "> <div class="method-heading"> <span class="method-name">new</span><span class="method-args">(app)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="new-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 5</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">app</span>) <span class="ruby-ivar">@app</span> = <span class="ruby-identifier">app</span> <span class="ruby-keyword">end</span></pre> </div> </div> </div> </section> <section id="public-instance-5Buntitled-5D-method-details" class="method-section"> <header> <h3>Public Instance Methods</h3> </header> <div id="method-i-3C-3C" class="method-detail "> <div class="method-heading"> <span class="method-name"><<</span><span class="method-args">(msg)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="3C-3C-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 37</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title"><<</span>(<span class="ruby-identifier">msg</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-add" class="method-detail "> <div class="method-heading"> <span class="method-name">add</span><span class="method-args">(severity, message = nil, progname = nil, &block)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="add-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 36</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add</span>(<span class="ruby-identifier">severity</span>, <span class="ruby-identifier">message</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">progname</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-call" class="method-detail "> <div class="method-heading"> <span class="method-name">call</span><span class="method-args">(env)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="call-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 9</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">call</span>(<span class="ruby-identifier">env</span>) <span class="ruby-identifier">env</span>[<span class="ruby-constant">RACK_LOGGER</span>] = <span class="ruby-keyword">self</span> <span class="ruby-ivar">@app</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">env</span>) <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-close" class="method-detail "> <div class="method-heading"> <span class="method-name">close</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="close-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 35</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">close</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-datetime_format" class="method-detail "> <div class="method-heading"> <span class="method-name">datetime_format</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="datetime_format-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 27</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">datetime_format</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-datetime_format-3D" class="method-detail "> <div class="method-heading"> <span class="method-name">datetime_format=</span><span class="method-args">(datetime_format)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="datetime_format-3D-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 32</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">datetime_format=</span>(<span class="ruby-identifier">datetime_format</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-debug" class="method-detail "> <div class="method-heading"> <span class="method-name">debug</span><span class="method-args">(progname = nil, &block)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="debug-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 15</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">debug</span>(<span class="ruby-identifier">progname</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-debug-3F" class="method-detail "> <div class="method-heading"> <span class="method-name">debug?</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="debug-3F-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 21</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">debug?</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-error" class="method-detail "> <div class="method-heading"> <span class="method-name">error</span><span class="method-args">(progname = nil, &block)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="error-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 17</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">error</span>(<span class="ruby-identifier">progname</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-error-3F" class="method-detail "> <div class="method-heading"> <span class="method-name">error?</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="error-3F-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 23</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">error?</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-fatal" class="method-detail "> <div class="method-heading"> <span class="method-name">fatal</span><span class="method-args">(progname = nil, &block)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="fatal-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 18</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fatal</span>(<span class="ruby-identifier">progname</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-fatal-3F" class="method-detail "> <div class="method-heading"> <span class="method-name">fatal?</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="fatal-3F-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 24</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fatal?</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-formatter" class="method-detail "> <div class="method-heading"> <span class="method-name">formatter</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="formatter-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 28</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">formatter</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-formatter-3D" class="method-detail "> <div class="method-heading"> <span class="method-name">formatter=</span><span class="method-args">(formatter)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="formatter-3D-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 33</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">formatter=</span>(<span class="ruby-identifier">formatter</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-info" class="method-detail "> <div class="method-heading"> <span class="method-name">info</span><span class="method-args">(progname = nil, &block)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="info-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 14</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">info</span>(<span class="ruby-identifier">progname</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-info-3F" class="method-detail "> <div class="method-heading"> <span class="method-name">info?</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="info-3F-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 20</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">info?</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-level" class="method-detail "> <div class="method-heading"> <span class="method-name">level</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="level-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 25</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">level</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-level-3D" class="method-detail "> <div class="method-heading"> <span class="method-name">level=</span><span class="method-args">(level)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="level-3D-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 30</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">level=</span>(<span class="ruby-identifier">level</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-progname" class="method-detail "> <div class="method-heading"> <span class="method-name">progname</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="progname-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 26</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">progname</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-progname-3D" class="method-detail "> <div class="method-heading"> <span class="method-name">progname=</span><span class="method-args">(progname)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="progname-3D-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 31</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">progname=</span>(<span class="ruby-identifier">progname</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-sev_threshold" class="method-detail "> <div class="method-heading"> <span class="method-name">sev_threshold</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="sev_threshold-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 29</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">sev_threshold</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-sev_threshold-3D" class="method-detail "> <div class="method-heading"> <span class="method-name">sev_threshold=</span><span class="method-args">(sev_threshold)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="sev_threshold-3D-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 34</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">sev_threshold=</span>(<span class="ruby-identifier">sev_threshold</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-unknown" class="method-detail "> <div class="method-heading"> <span class="method-name">unknown</span><span class="method-args">(progname = nil, &block)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="unknown-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 19</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">unknown</span>(<span class="ruby-identifier">progname</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-warn" class="method-detail "> <div class="method-heading"> <span class="method-name">warn</span><span class="method-args">(progname = nil, &block)</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="warn-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 16</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">warn</span>(<span class="ruby-identifier">progname</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>); <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div id="method-i-warn-3F" class="method-detail "> <div class="method-heading"> <span class="method-name">warn?</span><span class="method-args">()</span> <span class="method-click-advice">click to toggle source</span> </div> <div class="method-description"> <div class="method-source-code" id="warn-3F-source"> <pre><span class="ruby-comment"># File lib/rack/null_logger.rb, line 22</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">warn?</span> ; <span class="ruby-keyword">end</span></pre> </div> </div> </div> </section> </section> </main> <footer id="validator-badges" role="contentinfo"> <p><a href="https://validator.w3.org/check/referer">Validate</a> <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.1. <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>. </footer>