EasyLogger 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +10 -0
- data/EasyLogger.gemspec +28 -0
- data/EasyLogger.rdoc +62 -0
- data/Gemfile +21 -0
- data/README.rdoc +64 -0
- data/Rakefile +71 -0
- data/bin/EasyLogger +104 -0
- data/doc/ArubaOverrides.html +204 -0
- data/doc/EasyLogger.html +130 -0
- data/doc/EasyLogger/EasyLogger.html +188 -0
- data/doc/EasyLogger_rdoc.html +207 -0
- data/doc/File.html +208 -0
- data/doc/Gemfile.html +123 -0
- data/doc/README_rdoc.html +211 -0
- data/doc/Rakefile.html +136 -0
- data/doc/_index.html +101 -0
- data/doc/bin/EasyLogger.html +62 -0
- data/doc/class_list.html +36 -0
- data/doc/created.rid +11 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +53 -0
- data/doc/css/style.css +310 -0
- data/doc/features/support/env_rb.html +56 -0
- data/doc/file.README.html +60 -0
- data/doc/file_list.html +38 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +60 -0
- data/doc/js/app.js +202 -0
- data/doc/js/full_list.js +149 -0
- data/doc/js/jquery.js +154 -0
- data/doc/lib/EasyLogger_version_rb.html +52 -0
- data/doc/lib/easy_logger/easy_logger_rb.html +52 -0
- data/doc/lib/easy_logger_rb.html +54 -0
- data/doc/method_list.html +43 -0
- data/doc/rdoc.css +706 -0
- data/doc/top-level-namespace.html +88 -0
- data/features/class_filtering.feature +79 -0
- data/features/class_method_filtering.feature +29 -0
- data/features/command_line.feature +25 -0
- data/features/method_filtering.feature +72 -0
- data/features/step_definitions/command_line_steps.rb +1 -0
- data/features/support/env.rb +14 -0
- data/html/EasyLogger.html +170 -0
- data/html/EasyLogger/EasyLogger.html +379 -0
- data/html/File.html +200 -0
- data/html/Logging.html +280 -0
- data/html/README_rdoc.html +212 -0
- data/html/bin/EasyLogger.html +64 -0
- data/html/created.rid +7 -0
- data/html/index.html +198 -0
- data/html/lib/EasyLogger_version_rb.html +52 -0
- data/html/lib/easy_logger/easy_logger_rb.html +54 -0
- data/html/lib/easy_logger/logging_example_rb.html +54 -0
- data/html/lib/easy_logger_rb.html +54 -0
- data/html/rdoc.css +706 -0
- data/lib/EasyLogger_version.rb +3 -0
- data/lib/easy_logger.rb +1 -0
- data/lib/easy_logger/easy_logger.rb +116 -0
- data/lib/easy_logger/logging_example.rb +46 -0
- data/spec/EasyLogger/easy_logger_spec.rb +63 -0
- data/spec/spec_helper.rb +22 -0
- metadata +132 -0
data/doc/File.html
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Class: File</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript"
|
13
|
+
charset="utf-8"></script>
|
14
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
15
|
+
charset="utf-8"></script>
|
16
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
17
|
+
charset="utf-8"></script>
|
18
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
19
|
+
charset="utf-8"></script>
|
20
|
+
|
21
|
+
</head>
|
22
|
+
<body class="class">
|
23
|
+
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="file-metadata">
|
36
|
+
<div id="file-list-section" class="section">
|
37
|
+
<h3 class="section-header">In Files</h3>
|
38
|
+
<div class="section-body">
|
39
|
+
<ul>
|
40
|
+
|
41
|
+
<li><a href="./bin/EasyLogger.html?TB_iframe=true&height=550&width=785"
|
42
|
+
class="thickbox" title="bin/EasyLogger">bin/EasyLogger</a></li>
|
43
|
+
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="class-metadata">
|
52
|
+
|
53
|
+
<!-- Parent Class -->
|
54
|
+
|
55
|
+
<div id="parent-class-section" class="section">
|
56
|
+
<h3 class="section-header">Parent</h3>
|
57
|
+
|
58
|
+
<p class="link">Object</p>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
|
63
|
+
<!-- Namespace Contents -->
|
64
|
+
|
65
|
+
|
66
|
+
<!-- Method Quickref -->
|
67
|
+
|
68
|
+
<div id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="#method-c-realpath">::realpath</a></li>
|
73
|
+
|
74
|
+
</ul>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
|
78
|
+
<!-- Included Modules -->
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div id="project-metadata">
|
83
|
+
|
84
|
+
|
85
|
+
<div id="fileindex-section" class="section project-section">
|
86
|
+
<h3 class="section-header">Files</h3>
|
87
|
+
<ul>
|
88
|
+
|
89
|
+
<li class="file"><a href="./EasyLogger_rdoc.html">EasyLogger.rdoc</a></li>
|
90
|
+
|
91
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
92
|
+
|
93
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
94
|
+
|
95
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
96
|
+
|
97
|
+
<li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d.txt</a></li>
|
98
|
+
|
99
|
+
</ul>
|
100
|
+
</div>
|
101
|
+
|
102
|
+
|
103
|
+
<div id="classindex-section" class="section project-section">
|
104
|
+
<h3 class="section-header">Class Index
|
105
|
+
<span class="search-toggle"><img src="./images/find.png"
|
106
|
+
height="16" width="16" alt="[+]"
|
107
|
+
title="show/hide quicksearch" /></span></h3>
|
108
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
109
|
+
<fieldset>
|
110
|
+
<legend>Quicksearch</legend>
|
111
|
+
<input type="text" name="quicksearch" value=""
|
112
|
+
class="quicksearch-field" />
|
113
|
+
</fieldset>
|
114
|
+
</form>
|
115
|
+
|
116
|
+
<ul class="link-list">
|
117
|
+
|
118
|
+
<li><a href="./EasyLogger.html">EasyLogger</a></li>
|
119
|
+
|
120
|
+
<li><a href="./EasyLogger/EasyLogger.html">EasyLogger::EasyLogger</a></li>
|
121
|
+
|
122
|
+
<li><a href="./ArubaOverrides.html">ArubaOverrides</a></li>
|
123
|
+
|
124
|
+
<li><a href="./File.html">File</a></li>
|
125
|
+
|
126
|
+
</ul>
|
127
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
<div id="documentation">
|
135
|
+
<h1 class="class">File</h1>
|
136
|
+
|
137
|
+
<div id="description">
|
138
|
+
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<!-- Constants -->
|
142
|
+
|
143
|
+
|
144
|
+
<!-- Attributes -->
|
145
|
+
|
146
|
+
|
147
|
+
<!-- Methods -->
|
148
|
+
|
149
|
+
<div id="public-class-method-details" class="method-section section">
|
150
|
+
<h3 class="section-header">Public Class Methods</h3>
|
151
|
+
|
152
|
+
|
153
|
+
<div id="realpath-method" class="method-detail ">
|
154
|
+
<a name="method-c-realpath"></a>
|
155
|
+
|
156
|
+
<div class="method-heading">
|
157
|
+
|
158
|
+
<span class="method-name">realpath</span><span
|
159
|
+
class="method-args">(path)</span>
|
160
|
+
<span class="method-click-advice">click to toggle source</span>
|
161
|
+
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<div class="method-description">
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
<div class="method-source-code"
|
171
|
+
id="realpath-source">
|
172
|
+
<pre>
|
173
|
+
<span class="ruby-comment cmt"># File bin/EasyLogger, line 7</span>
|
174
|
+
7: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">realpath</span> <span class="ruby-identifier">path</span>
|
175
|
+
8: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">realpath</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">readlink</span>(<span class="ruby-identifier">path</span>)) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">symlink?</span>(<span class="ruby-identifier">path</span>)
|
176
|
+
9: <span class="ruby-identifier">path</span>
|
177
|
+
10: <span class="ruby-keyword kw">end</span></pre>
|
178
|
+
</div>
|
179
|
+
|
180
|
+
</div>
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
|
188
|
+
</div>
|
189
|
+
|
190
|
+
|
191
|
+
</div>
|
192
|
+
|
193
|
+
|
194
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
195
|
+
|
196
|
+
<p>Disabled; run with --debug to generate this.</p>
|
197
|
+
|
198
|
+
</div>
|
199
|
+
|
200
|
+
<div id="validator-badges">
|
201
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
202
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
203
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
</body>
|
207
|
+
</html>
|
208
|
+
|
data/doc/Gemfile.html
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: Gemfile [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./EasyLogger_rdoc.html">EasyLogger.rdoc</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
47
|
+
|
48
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
49
|
+
|
50
|
+
<li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d.txt</a></li>
|
51
|
+
|
52
|
+
</ul>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
<div id="classindex-section" class="section project-section">
|
57
|
+
<h3 class="section-header">Class Index
|
58
|
+
<span class="search-toggle"><img src="./images/find.png"
|
59
|
+
height="16" width="16" alt="[+]"
|
60
|
+
title="show/hide quicksearch" /></span></h3>
|
61
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
62
|
+
<fieldset>
|
63
|
+
<legend>Quicksearch</legend>
|
64
|
+
<input type="text" name="quicksearch" value=""
|
65
|
+
class="quicksearch-field" />
|
66
|
+
</fieldset>
|
67
|
+
</form>
|
68
|
+
|
69
|
+
<ul class="link-list">
|
70
|
+
|
71
|
+
<li><a href="./EasyLogger.html">EasyLogger</a></li>
|
72
|
+
|
73
|
+
<li><a href="./EasyLogger/EasyLogger.html">EasyLogger::EasyLogger</a></li>
|
74
|
+
|
75
|
+
<li><a href="./ArubaOverrides.html">ArubaOverrides</a></li>
|
76
|
+
|
77
|
+
<li><a href="./File.html">File</a></li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="documentation">
|
88
|
+
<p>
|
89
|
+
source :rubygems
|
90
|
+
</p>
|
91
|
+
<p>
|
92
|
+
# Specify your gem’s dependencies in EasyLogger.gemspec gemspec
|
93
|
+
</p>
|
94
|
+
<p>
|
95
|
+
gem ‘OptionParser’ gem ‘file-tail’ gem
|
96
|
+
‘rake’ gem ‘rdoc’
|
97
|
+
</p>
|
98
|
+
<p>
|
99
|
+
group(:test) do
|
100
|
+
</p>
|
101
|
+
<pre>
|
102
|
+
gem 'rspec'
|
103
|
+
gem 'rspec-core'
|
104
|
+
gem 'rspec-expectations'
|
105
|
+
gem 'rspec-mocks'
|
106
|
+
gem 'cucumber'
|
107
|
+
gem 'rcov'
|
108
|
+
gem 'aruba'
|
109
|
+
</pre>
|
110
|
+
<p>
|
111
|
+
end
|
112
|
+
</p>
|
113
|
+
|
114
|
+
</div>
|
115
|
+
|
116
|
+
<div id="validator-badges">
|
117
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
118
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
119
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
120
|
+
</div>
|
121
|
+
</body>
|
122
|
+
</html>
|
123
|
+
|
@@ -0,0 +1,211 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: README.rdoc [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./EasyLogger_rdoc.html">EasyLogger.rdoc</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
47
|
+
|
48
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
49
|
+
|
50
|
+
<li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d.txt</a></li>
|
51
|
+
|
52
|
+
</ul>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
<div id="classindex-section" class="section project-section">
|
57
|
+
<h3 class="section-header">Class Index
|
58
|
+
<span class="search-toggle"><img src="./images/find.png"
|
59
|
+
height="16" width="16" alt="[+]"
|
60
|
+
title="show/hide quicksearch" /></span></h3>
|
61
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
62
|
+
<fieldset>
|
63
|
+
<legend>Quicksearch</legend>
|
64
|
+
<input type="text" name="quicksearch" value=""
|
65
|
+
class="quicksearch-field" />
|
66
|
+
</fieldset>
|
67
|
+
</form>
|
68
|
+
|
69
|
+
<ul class="link-list">
|
70
|
+
|
71
|
+
<li><a href="./EasyLogger.html">EasyLogger</a></li>
|
72
|
+
|
73
|
+
<li><a href="./EasyLogger/EasyLogger.html">EasyLogger::EasyLogger</a></li>
|
74
|
+
|
75
|
+
<li><a href="./ArubaOverrides.html">ArubaOverrides</a></li>
|
76
|
+
|
77
|
+
<li><a href="./File.html">File</a></li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="documentation">
|
88
|
+
<h1><a href="EasyLogger.html">EasyLogger</a></h1>
|
89
|
+
<p>
|
90
|
+
Describe your project here
|
91
|
+
</p>
|
92
|
+
<h1><tt>EasyLogger</tt></h1>
|
93
|
+
<pre>
|
94
|
+
EasyLogger [global options] command_name [command-specific options] [--] arguments...
|
95
|
+
</pre>
|
96
|
+
<ul>
|
97
|
+
<li><p>
|
98
|
+
Use the command <tt>help</tt> to get a summary of commands
|
99
|
+
</p>
|
100
|
+
</li>
|
101
|
+
<li><p>
|
102
|
+
Use the command <tt>help command_name</tt> to get a help for
|
103
|
+
<tt>command_name</tt>
|
104
|
+
</p>
|
105
|
+
</li>
|
106
|
+
<li><p>
|
107
|
+
Use <tt>--</tt> to stop command line argument processing; useful if your
|
108
|
+
arguments have dashes in them
|
109
|
+
</p>
|
110
|
+
</li>
|
111
|
+
</ul>
|
112
|
+
<h2>Global Options</h2>
|
113
|
+
<p>
|
114
|
+
These options are available for any command and are specified before the
|
115
|
+
name of the command
|
116
|
+
</p>
|
117
|
+
<dl>
|
118
|
+
<dt><tt>-f, --filemode</tt></dt><dd><p>
|
119
|
+
file-mode
|
120
|
+
</p>
|
121
|
+
<p>
|
122
|
+
if set, easy logger will sho only the matching past line of the file and
|
123
|
+
exit.
|
124
|
+
</p>
|
125
|
+
</dd>
|
126
|
+
</dl>
|
127
|
+
<p>
|
128
|
+
if both file-mode and tail-mode is activated, file-mode will be chosen.
|
129
|
+
</p>
|
130
|
+
<dl>
|
131
|
+
<dt><tt>-m, --model=arg</tt></dt><dd><p>
|
132
|
+
model(s) to match
|
133
|
+
</p>
|
134
|
+
<p>
|
135
|
+
The model(s) to match in the log file. Can be mixed with method to match
|
136
|
+
</p>
|
137
|
+
</dd>
|
138
|
+
<dt><tt>-n, --method=arg</tt></dt><dd><p>
|
139
|
+
method(s) to match
|
140
|
+
</p>
|
141
|
+
<p>
|
142
|
+
The method(s) to match in the log file. Can be mixed with model to match
|
143
|
+
</p>
|
144
|
+
</dd>
|
145
|
+
<dt><tt>-t, --tailmode</tt></dt><dd><p>
|
146
|
+
tail-mode
|
147
|
+
</p>
|
148
|
+
<p>
|
149
|
+
if set, easy logger will show only the new lines
|
150
|
+
</p>
|
151
|
+
</dd>
|
152
|
+
<dt><tt>-v, --verbose</tt></dt><dd><p>
|
153
|
+
verbose
|
154
|
+
</p>
|
155
|
+
<p>
|
156
|
+
Switch to verbose mode where more outputs will be shown
|
157
|
+
</p>
|
158
|
+
</dd>
|
159
|
+
</dl>
|
160
|
+
<h2>Commands</h2>
|
161
|
+
<dl>
|
162
|
+
<dt><tt>help</tt></dt><dd><p>
|
163
|
+
Shows list of commands or help for one command
|
164
|
+
</p>
|
165
|
+
</dd>
|
166
|
+
<dt><tt>text</tt></dt><dd><p>
|
167
|
+
View the line matching model and/or methods on a log file in command line
|
168
|
+
</p>
|
169
|
+
</dd>
|
170
|
+
</dl>
|
171
|
+
<h3><tt>help [command]</tt></h3>
|
172
|
+
<p>
|
173
|
+
Shows list of commands or help for one command
|
174
|
+
</p>
|
175
|
+
<p>
|
176
|
+
Gets help for the application or its commands. Can also list the commands
|
177
|
+
in a way helpful to creating a bash-style completion function
|
178
|
+
</p>
|
179
|
+
<h4>Options</h4>
|
180
|
+
<p>
|
181
|
+
These options are specified <b>after</b> the command.
|
182
|
+
</p>
|
183
|
+
<dl>
|
184
|
+
<dt><tt>-c, --completion</tt></dt><dd><p>
|
185
|
+
List all commands one line at a time, for use with shell completion
|
186
|
+
([command] argument is partial command to match)
|
187
|
+
</p>
|
188
|
+
</dd>
|
189
|
+
</dl>
|
190
|
+
<h3><tt>text log_file [command]</tt></h3>
|
191
|
+
<p>
|
192
|
+
View the line matching model and/or methods on a log file in command line
|
193
|
+
</p>
|
194
|
+
<p>
|
195
|
+
This will display the lines of the log file matching the model and/or the
|
196
|
+
method in a command line mode. If tail-mode is set, only the new lines
|
197
|
+
matching will be displayed whereas if file-mode is set, it will be only the
|
198
|
+
the already logged lines matching that will be displayed. Without any of
|
199
|
+
these options, both of them will be displayed.
|
200
|
+
</p>
|
201
|
+
|
202
|
+
</div>
|
203
|
+
|
204
|
+
<div id="validator-badges">
|
205
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
206
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
207
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
208
|
+
</div>
|
209
|
+
</body>
|
210
|
+
</html>
|
211
|
+
|