1
<?xml version="1.0" encoding="ascii"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
"DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
<link rel="stylesheet" href="epydoc.css" type="text/css" />
8
<script type="text/javascript" src="epydoc.js"></script>
11
<body bgcolor="white" text="black" link="blue" vlink="#204080"
13
<!-- ==================== NAVIGATION BAR ==================== -->
14
<table class="navbar" border="0" width="100%" cellpadding="0"
15
bgcolor="#a0c0ff" cellspacing="0">
19
<th> <a
20
href="module-tree.html">Trees</a> </th>
23
<th> <a
24
href="identifier-index.html">Indices</a> </th>
27
<th> <a
28
href="help.html">Help</a> </th>
30
<!-- Project homepage -->
31
<th class="navbar" align="right" width="100%">
32
<table border="0" cellpadding="0" cellspacing="0">
33
<tr><th class="navbar" align="center"
38
<table width="100%" cellpadding="0" cellspacing="0">
41
<span class="breadcrumbs">
46
<table cellpadding="0" cellspacing="0">
47
<!-- hide/show private -->
48
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
49
onclick="toggle_private();">hide private</a>]</span></td></tr>
50
<tr><td align="right"><span class="options"
51
>[<a href="frames.html" target="_top">frames</a
52
>] | <a href="Log-module.html"
53
target="_top">no frames</a>]</span></td></tr>
58
<!-- ==================== MODULE DESCRIPTION ==================== -->
59
<h1 class="epydoc">Module Log</h1><span class="codelink"><a href="Log-pysrc.html">source code</a></span><br /><br />
60
<!-- ==================== FUNCTIONS ==================== -->
61
<a name="section-Functions"></a>
62
<table class="summary" border="1" cellpadding="3"
63
cellspacing="0" width="100%" bgcolor="white">
64
<tr bgcolor="#70b0f0" class="table-header">
65
<td colspan="2" class="table-header">
66
<table border="0" cellpadding="0" cellspacing="0" width="100%">
68
<td align="left"><span class="table-header">Functions</span></td>
69
<td align="right" valign="top"
70
><span class="options">[<a href="#section-Functions"
71
class="privatelink" onclick="toggle_private();"
72
>hide private</a>]</span></td>
78
<td width="15%" align="right" valign="top" class="summary">
79
<span class="summary-type"> </span>
80
</td><td class="summary">
81
<table width="100%" cellpadding="0" cellspacing="0" border="0">
83
<td><span class="summary-sig"><a name="log"></a><span class="summary-sig-name">log</span>(<span class="summary-sig-arg">cls</span>,
84
<span class="summary-sig-arg">msg</span>)</span></td>
85
<td align="right" valign="top">
86
<span class="codelink"><a href="Log-pysrc.html#log">source code</a></span>
95
<td width="15%" align="right" valign="top" class="summary">
96
<span class="summary-type"> </span>
97
</td><td class="summary">
98
<table width="100%" cellpadding="0" cellspacing="0" border="0">
100
<td><span class="summary-sig"><a name="warn"></a><span class="summary-sig-name">warn</span>(<span class="summary-sig-arg">msg</span>)</span></td>
101
<td align="right" valign="top">
102
<span class="codelink"><a href="Log-pysrc.html#warn">source code</a></span>
111
<td width="15%" align="right" valign="top" class="summary">
112
<span class="summary-type"> </span>
113
</td><td class="summary">
114
<table width="100%" cellpadding="0" cellspacing="0" border="0">
116
<td><span class="summary-sig"><a name="debug"></a><span class="summary-sig-name">debug</span>(<span class="summary-sig-arg">msg</span>)</span></td>
117
<td align="right" valign="top">
118
<span class="codelink"><a href="Log-pysrc.html#debug">source code</a></span>
127
<td width="15%" align="right" valign="top" class="summary">
128
<span class="summary-type"> </span>
129
</td><td class="summary">
130
<table width="100%" cellpadding="0" cellspacing="0" border="0">
132
<td><span class="summary-sig"><a name="notice"></a><span class="summary-sig-name">notice</span>(<span class="summary-sig-arg">msg</span>)</span></td>
133
<td align="right" valign="top">
134
<span class="codelink"><a href="Log-pysrc.html#notice">source code</a></span>
143
<td width="15%" align="right" valign="top" class="summary">
144
<span class="summary-type"> </span>
145
</td><td class="summary">
146
<table width="100%" cellpadding="0" cellspacing="0" border="0">
148
<td><span class="summary-sig"><a name="error"></a><span class="summary-sig-name">error</span>(<span class="summary-sig-arg">msg</span>)</span></td>
149
<td align="right" valign="top">
150
<span class="codelink"><a href="Log-pysrc.html#error">source code</a></span>
159
<!-- ==================== VARIABLES ==================== -->
160
<a name="section-Variables"></a>
161
<table class="summary" border="1" cellpadding="3"
162
cellspacing="0" width="100%" bgcolor="white">
163
<tr bgcolor="#70b0f0" class="table-header">
164
<td colspan="2" class="table-header">
165
<table border="0" cellpadding="0" cellspacing="0" width="100%">
167
<td align="left"><span class="table-header">Variables</span></td>
168
<td align="right" valign="top"
169
><span class="options">[<a href="#section-Variables"
170
class="privatelink" onclick="toggle_private();"
171
>hide private</a>]</span></td>
177
<td width="15%" align="right" valign="top" class="summary">
178
<span class="summary-type"> </span>
179
</td><td class="summary">
180
<a href="Log-module.html#logFile" class="summary-name">logFile</a> = <code title="open(os.path.join(Resource.getWritableResourcePath(), "fretsonfire.log\
181
"), "w")"><open file '/home/skyostil/.fretsonfire/fretsonfire.<code class="variable-ellipsis">...</code></code>
185
<td width="15%" align="right" valign="top" class="summary">
186
<span class="summary-type"> </span>
187
</td><td class="summary">
188
<a name="encoding"></a><span class="summary-name">encoding</span> = <code title="'iso-8859-1'"><code class="variable-quote">'</code><code class="variable-string">iso-8859-1</code><code class="variable-quote">'</code></code>
192
<td width="15%" align="right" valign="top" class="summary">
193
<span class="summary-type"> </span>
194
</td><td class="summary">
195
<a name="quiet"></a><span class="summary-name">quiet</span> = <code title="True">True</code>
199
<td width="15%" align="right" valign="top" class="summary">
200
<span class="summary-type"> </span>
201
</td><td class="summary">
202
<a href="Log-module.html#labels" class="summary-name">labels</a> = <code title="{'debug': '\x1b[1;34m(D)\x1b[0m',
203
'error': '\x1b[1;31m(E)\x1b[0m',
204
'notice': '\x1b[1;32m(N)\x1b[0m',
205
'warn': '\x1b[1;33m(W)\x1b[0m'}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">debug</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">\x1b[1;34m(D)\x1b[0m</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">error</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">\x1b[1;31</code><code class="variable-ellipsis">...</code></code>
209
<!-- ==================== VARIABLES DETAILS ==================== -->
210
<a name="section-VariablesDetails"></a>
211
<table class="details" border="1" cellpadding="3"
212
cellspacing="0" width="100%" bgcolor="white">
213
<tr bgcolor="#70b0f0" class="table-header">
214
<td colspan="2" class="table-header">
215
<table border="0" cellpadding="0" cellspacing="0" width="100%">
217
<td align="left"><span class="table-header">Variables Details</span></td>
218
<td align="right" valign="top"
219
><span class="options">[<a href="#section-VariablesDetails"
220
class="privatelink" onclick="toggle_private();"
221
>hide private</a>]</span></td>
227
<a name="logFile"></a>
229
<table class="details" border="1" cellpadding="3"
230
cellspacing="0" width="100%" bgcolor="white">
232
<h3 class="epydoc">logFile</h3>
238
<dd><table><tr><td><pre class="variable">
239
open(os.path.join(Resource.getWritableResourcePath(), "fretsonfire.log<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
240
"), "w")
241
</pre></td></tr></table>
246
<a name="labels"></a>
248
<table class="details" border="1" cellpadding="3"
249
cellspacing="0" width="100%" bgcolor="white">
251
<h3 class="epydoc">labels</h3>
257
<dd><table><tr><td><pre class="variable">
258
<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">debug</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">\x1b[1;34m(D)\x1b[0m</code><code class="variable-quote">'</code><code class="variable-op">,</code>
259
<code class="variable-quote">'</code><code class="variable-string">error</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">\x1b[1;31m(E)\x1b[0m</code><code class="variable-quote">'</code><code class="variable-op">,</code>
260
<code class="variable-quote">'</code><code class="variable-string">notice</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">\x1b[1;32m(N)\x1b[0m</code><code class="variable-quote">'</code><code class="variable-op">,</code>
261
<code class="variable-quote">'</code><code class="variable-string">warn</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">\x1b[1;33m(W)\x1b[0m</code><code class="variable-quote">'</code><code class="variable-group">}</code>
262
</pre></td></tr></table>
268
<!-- ==================== NAVIGATION BAR ==================== -->
269
<table class="navbar" border="0" width="100%" cellpadding="0"
270
bgcolor="#a0c0ff" cellspacing="0">
274
<th> <a
275
href="module-tree.html">Trees</a> </th>
278
<th> <a
279
href="identifier-index.html">Indices</a> </th>
282
<th> <a
283
href="help.html">Help</a> </th>
285
<!-- Project homepage -->
286
<th class="navbar" align="right" width="100%">
287
<table border="0" cellpadding="0" cellspacing="0">
288
<tr><th class="navbar" align="center"
293
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
295
<td align="left" class="footer">
296
Generated by Epydoc 3.0beta1 on Sat Oct 20 15:25:02 2007
298
<td align="right" class="footer">
299
<a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
304
<script type="text/javascript">
306
// Private objects are initially displayed (because if
307
// javascript is turned off then we want them to be
308
// visible); but by default, we want to hide them. So hide
309
// them unless we have a cookie that says to show them.