Sha256: 4f079b387ad945ac58be81b29bf7e8bcc568bab6c20de4a5beb16070aa3f7dcd

Contents?: true

Size: 1.83 KB

Versions: 3

Compression:

Stored size: 1.83 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>begin_trace (MongrelDbg)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre>    <span class="ruby-comment cmt"># File lib/mongrel/debug.rb, line 36</span>
36:   <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">begin_trace</span>(<span class="ruby-identifier">target</span>)
37:     <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>] = <span class="ruby-keyword kw">true</span>
38:     <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>]
39:       <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>] = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@log_dir</span>, <span class="ruby-node">&quot;#{target.to_s}.log&quot;</span>))
40:     <span class="ruby-keyword kw">end</span>                          
41:     <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">target</span>, <span class="ruby-node">&quot;TRACING ON #{Time.now}&quot;</span>)
42:   <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongrel-0.3.13.4 doc/rdoc/classes/MongrelDbg.src/M000007.html
mongrel-1.0.1 doc/rdoc/classes/MongrelDbg.src/M000009.html
mongrel-1.0 doc/rdoc/classes/MongrelDbg.src/M000009.html