<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006>Ed Howland wrote:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006>&gt;&gt; I <FONT size=2>assume that the </FONT><FONT 
size=2>default logging level is Logger::DEBUG ... [based on] masterview plugin's 
init.rb</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006>The next release of MasterView will include&nbsp;a 
rework of the mechanisms for customizing the MasterView configuration.&nbsp; The 
new approach&nbsp;will be similar to the style used&nbsp;for rails 
app&nbsp;configuration, where you&nbsp;customize the&nbsp;settings for your app 
by&nbsp;providing initialization specs in&nbsp;your config 
directory,&nbsp;setting values in&nbsp;the configuration&nbsp;and allowing for 
environment-dependent settings which override/augment the general config for 
your app.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006>There'll be documentation on all the supported 
configuration options and description of how to use them, along with some sort 
of example/prototype config file so it's easy to drop in and get going if you 
want something different than the standard defaults,.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006>I'll make sure there are options supported 
to&nbsp;allow configuring the logging facilities.&nbsp; (that area isn't quite 
sorted out, working on that right now)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006>[p.s. introducing myself: I'm currently working with 
Jeff on some enhancements to MasterView, having recently picked it up to use in 
a rails development project&nbsp;I'm doing and deciding there were some things I 
wanted added or done differently.&nbsp; kudos to Jeff,&nbsp;he's done a really 
nice job creating MasterView]</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=260095118-09062006>~ Deb</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> masterview-users-bounces@rubyforge.org 
[mailto:masterview-users-bounces@rubyforge.org] <B>On Behalf Of </B>Jeff 
Barczewski<BR><B>Sent:</B> Thursday, June 08, 2006 1:29 PM<BR><B>To:</B> 
masterview-users@rubyforge.org<BR><B>Subject:</B> Re: [Masterview-users] Logging 
from within a directive<BR></FONT><BR></DIV>
<DIV></DIV>The Logger is set on the MasterView module so you would probably need 
to refer to it like<BR><BR>MasterView::Log.debug "foo" <BR><BR>or even better 
use<BR><BR>MasterView::Log.debug { "foo" }<BR><BR>The second form is better 
since it is a block and the block won't get executed if the output level is 
above debug which saves cpu if you were doing any string building concatenating, 
etc. </BODY></HTML>