Skip to content

Commit 8711664

Browse files
chore: Updating docs for .
1 parent d50190f commit 8711664

17 files changed

+3556
-0
lines changed

LaunchDarkly.html

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>
7+
Module: LaunchDarkly
8+
9+
&mdash; LaunchDarkly Ruby OTEL Library
10+
11+
</title>
12+
13+
<link rel="stylesheet" href="css/style.css" type="text/css" />
14+
15+
<link rel="stylesheet" href="css/common.css" type="text/css" />
16+
17+
<script type="text/javascript">
18+
pathId = "LaunchDarkly";
19+
relpath = '';
20+
</script>
21+
22+
23+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24+
25+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26+
27+
28+
</head>
29+
<body>
30+
<div class="nav_wrap">
31+
<iframe id="nav" src="class_list.html?1"></iframe>
32+
<div id="resizer"></div>
33+
</div>
34+
35+
<div id="main" tabindex="-1">
36+
<div id="header">
37+
<div id="menu">
38+
39+
<a href="_index.html">Index (L)</a> &raquo;
40+
41+
42+
<span class="title">LaunchDarkly</span>
43+
44+
</div>
45+
46+
<div id="search">
47+
48+
<a class="full_list_link" id="class_list_link"
49+
href="class_list.html">
50+
51+
<svg width="24" height="24">
52+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55+
</svg>
56+
</a>
57+
58+
</div>
59+
<div class="clear"></div>
60+
</div>
61+
62+
<div id="content"><h1>Module: LaunchDarkly
63+
64+
65+
66+
</h1>
67+
<div class="box_info">
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
<dl>
80+
<dt>Defined in:</dt>
81+
<dd>lib/ldclient-otel.rb<span class="defines">,<br />
82+
lib/ldclient-otel/tracing_hook.rb,<br /> lib/ldclient-otel/version.rb</span>
83+
</dd>
84+
</dl>
85+
86+
</div>
87+
88+
<h2>Defined Under Namespace</h2>
89+
<p class="children">
90+
91+
92+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="LaunchDarkly/Otel.html" title="LaunchDarkly::Otel (module)">Otel</a></span>
93+
94+
95+
96+
97+
</p>
98+
99+
100+
101+
102+
103+
104+
105+
106+
107+
</div>
108+
109+
<div id="footer">
110+
Generated on Mon Oct 20 15:20:39 2025 by
111+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112+
0.9.37 (ruby-3.4.7).
113+
</div>
114+
115+
</div>
116+
</body>
117+
</html>

LaunchDarkly/Otel.html

Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>
7+
Module: LaunchDarkly::Otel
8+
9+
&mdash; LaunchDarkly Ruby OTEL Library
10+
11+
</title>
12+
13+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
14+
15+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
16+
17+
<script type="text/javascript">
18+
pathId = "LaunchDarkly::Otel";
19+
relpath = '../';
20+
</script>
21+
22+
23+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24+
25+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26+
27+
28+
</head>
29+
<body>
30+
<div class="nav_wrap">
31+
<iframe id="nav" src="../class_list.html?1"></iframe>
32+
<div id="resizer"></div>
33+
</div>
34+
35+
<div id="main" tabindex="-1">
36+
<div id="header">
37+
<div id="menu">
38+
39+
<a href="../_index.html">Index (O)</a> &raquo;
40+
<span class='title'><span class='object_link'><a href="../LaunchDarkly.html" title="LaunchDarkly (module)">LaunchDarkly</a></span></span>
41+
&raquo;
42+
<span class="title">Otel</span>
43+
44+
</div>
45+
46+
<div id="search">
47+
48+
<a class="full_list_link" id="class_list_link"
49+
href="../class_list.html">
50+
51+
<svg width="24" height="24">
52+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55+
</svg>
56+
</a>
57+
58+
</div>
59+
<div class="clear"></div>
60+
</div>
61+
62+
<div id="content"><h1>Module: LaunchDarkly::Otel
63+
64+
65+
66+
</h1>
67+
<div class="box_info">
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
<dl>
80+
<dt>Defined in:</dt>
81+
<dd>lib/ldclient-otel.rb<span class="defines">,<br />
82+
lib/ldclient-otel/tracing_hook.rb,<br /> lib/ldclient-otel/version.rb</span>
83+
</dd>
84+
</dl>
85+
86+
</div>
87+
88+
<h2>Overview</h2><div class="docstring">
89+
<div class="discussion">
90+
<p>Namespace for the LaunchDarkly Otel SDK.</p>
91+
92+
93+
</div>
94+
</div>
95+
<div class="tags">
96+
97+
98+
</div><h2>Defined Under Namespace</h2>
99+
<p class="children">
100+
101+
102+
103+
104+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Otel/TracingHook.html" title="LaunchDarkly::Otel::TracingHook (class)">TracingHook</a></span>, <span class='object_link'><a href="Otel/TracingHookOptions.html" title="LaunchDarkly::Otel::TracingHookOptions (class)">TracingHookOptions</a></span>
105+
106+
107+
</p>
108+
109+
110+
<h2>
111+
Constant Summary
112+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
113+
</h2>
114+
115+
<dl class="constants">
116+
117+
<dt id="VERSION-constant" class="">VERSION =
118+
<div class="docstring">
119+
<div class="discussion">
120+
<p>x-release-please-version</p>
121+
122+
123+
</div>
124+
</div>
125+
<div class="tags">
126+
127+
128+
</div>
129+
</dt>
130+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.1.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
131+
132+
</dl>
133+
134+
135+
136+
137+
138+
139+
140+
141+
142+
<h2>
143+
Class Method Summary
144+
<small><a href="#" class="summary_toggle">collapse</a></small>
145+
</h2>
146+
147+
<ul class="summary">
148+
149+
<li class="public ">
150+
<span class="summary_signature">
151+
152+
<a href="#default_logger-class_method" title="default_logger (class method)">.<strong>default_logger</strong> &#x21d2; Logger </a>
153+
154+
155+
156+
</span>
157+
158+
159+
160+
161+
162+
163+
164+
165+
166+
<span class="summary_desc"><div class='inline'><p>The Rails logger if in Rails, or a default Logger at WARN level otherwise.</p>
167+
</div></span>
168+
169+
</li>
170+
171+
172+
</ul>
173+
174+
175+
176+
177+
<div id="class_method_details" class="method_details_list">
178+
<h2>Class Method Details</h2>
179+
180+
181+
<div class="method_details first">
182+
<h3 class="signature first" id="default_logger-class_method">
183+
184+
.<strong>default_logger</strong> &#x21d2; <tt>Logger</tt>
185+
186+
187+
188+
189+
190+
</h3><div class="docstring">
191+
<div class="discussion">
192+
<p>Returns the Rails logger if in Rails, or a default Logger at WARN level otherwise.</p>
193+
194+
195+
</div>
196+
</div>
197+
<div class="tags">
198+
199+
<p class="tag_title">Returns:</p>
200+
<ul class="return">
201+
202+
<li>
203+
204+
205+
<span class='type'>(<tt>Logger</tt>)</span>
206+
207+
208+
209+
&mdash;
210+
<div class='inline'><p>the Rails logger if in Rails, or a default Logger at WARN level otherwise</p>
211+
</div>
212+
213+
</li>
214+
215+
</ul>
216+
217+
</div><table class="source_code">
218+
<tr>
219+
<td>
220+
<pre class="lines">
221+
222+
223+
15
224+
16
225+
17
226+
18
227+
19
228+
20
229+
21
230+
22
231+
23</pre>
232+
</td>
233+
<td>
234+
<pre class="code"><span class="info file"># File 'lib/ldclient-otel.rb', line 15</span>
235+
236+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_default_logger'>default_logger</span>
237+
<span class='kw'>if</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>Rails</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:logger</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_logger'>logger</span>
238+
<span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_logger'>logger</span>
239+
<span class='kw'>else</span>
240+
<span class='id identifier rubyid_log'>log</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='gvar'>$stdout</span><span class='rparen'>)</span>
241+
<span class='id identifier rubyid_log'>log</span><span class='period'>.</span><span class='id identifier rubyid_level'>level</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Logger</span><span class='op'>::</span><span class='const'>WARN</span>
242+
<span class='id identifier rubyid_log'>log</span>
243+
<span class='kw'>end</span>
244+
<span class='kw'>end</span></pre>
245+
</td>
246+
</tr>
247+
</table>
248+
</div>
249+
250+
</div>
251+
252+
</div>
253+
254+
<div id="footer">
255+
Generated on Mon Oct 20 15:20:39 2025 by
256+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
257+
0.9.37 (ruby-3.4.7).
258+
</div>
259+
260+
</div>
261+
</body>
262+
</html>

0 commit comments

Comments
 (0)