doc/classes/RipXploreLog.src/M000175.html in ripxplore-0.11.0 vs doc/classes/RipXploreLog.src/M000175.html in ripxplore-0.12.0
- old
+ new
@@ -3,18 +3,16 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>log_to (RipXploreLog)</title>
+ <title>log (RipXploreLog)</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/RipXploreLog.rb, line 13</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">RipXploreLog</span>.<span class="ruby-identifier">log_to</span>(<span class="ruby-identifier">filename</span>)
- <span class="ruby-identifier">old_log_level</span>=<span class="ruby-ivar">@@logger</span>.<span class="ruby-identifier">level</span>
- <span class="ruby-ivar">@@logger</span>=<span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">filename</span>)
- <span class="ruby-ivar">@@logger</span>.<span class="ruby-identifier">level</span>=<span class="ruby-identifier">old_log_level</span>
+ <pre><span class="ruby-comment cmt"># File lib/RipXploreLog.rb, line 19</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">RipXploreLog</span>.<span class="ruby-identifier">log</span>( <span class="ruby-identifier">message</span>,<span class="ruby-identifier">severity</span>=<span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">INFO</span>, <span class="ruby-identifier">progname</span> = <span class="ruby-keyword kw">nil</span>)
+ <span class="ruby-ivar">@@logger</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">severity</span>,<span class="ruby-identifier">message</span>,<span class="ruby-identifier">progname</span>)
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file