Debian Codegraph @

inst/doc/anatomy.html

raw
1 <!DOCTYPE html>
2
3 <html>
4
5 <head>
6
7 <meta charset="utf-8" />
8 <meta name="generator" content="pandoc" />
9 <meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
10
11 <meta name="viewport" content="width=device-width, initial-scale=1" />
12
13
14
15 <title>The Anatomy of a Log Request</title>
16
17 <script>// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
18 // be compatible with the behavior of Pandoc < 2.8).
19 document.addEventListener('DOMContentLoaded', function(e) {
20 var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
21 var i, h, a;
22 for (i = 0; i < hs.length; i++) {
23 h = hs[i];
24 if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
25 a = h.attributes;
26 while (a.length > 0) h.removeAttribute(a[0].name);
27 }
28 });
29 </script>
30
31 <style type="text/css">
32 code{white-space: pre-wrap;}
33 span.smallcaps{font-variant: small-caps;}
34 span.underline{text-decoration: underline;}
35 div.column{display: inline-block; vertical-align: top; width: 50%;}
36 div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
37 ul.task-list{list-style: none;}
38 </style>
39
40
41
42 <style type="text/css">
43 code {
44 white-space: pre;
45 }
46 .sourceCode {
47 overflow: visible;
48 }
49 </style>
50 <style type="text/css" data-origin="pandoc">
51 pre > code.sourceCode { white-space: pre; position: relative; }
52 pre > code.sourceCode > span { line-height: 1.25; }
53 pre > code.sourceCode > span:empty { height: 1.2em; }
54 .sourceCode { overflow: visible; }
55 code.sourceCode > span { color: inherit; text-decoration: inherit; }
56 div.sourceCode { margin: 1em 0; }
57 pre.sourceCode { margin: 0; }
58 @media screen {
59 div.sourceCode { overflow: auto; }
60 }
61 @media print {
62 pre > code.sourceCode { white-space: pre-wrap; }
63 pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
64 }
65 pre.numberSource code
66 { counter-reset: source-line 0; }
67 pre.numberSource code > span
68 { position: relative; left: -4em; counter-increment: source-line; }
69 pre.numberSource code > span > a:first-child::before
70 { content: counter(source-line);
71 position: relative; left: -1em; text-align: right; vertical-align: baseline;
72 border: none; display: inline-block;
73 -webkit-touch-callout: none; -webkit-user-select: none;
74 -khtml-user-select: none; -moz-user-select: none;
75 -ms-user-select: none; user-select: none;
76 padding: 0 4px; width: 4em;
77 color: #aaaaaa;
78 }
79 pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
80 div.sourceCode
81 { }
82 @media screen {
83 pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
84 }
85 code span.al { color: #ff0000; font-weight: bold; }
86 code span.an { color: #60a0b0; font-weight: bold; font-style: italic; }
87 code span.at { color: #7d9029; }
88 code span.bn { color: #40a070; }
89 code span.bu { color: #008000; }
90 code span.cf { color: #007020; font-weight: bold; }
91 code span.ch { color: #4070a0; }
92 code span.cn { color: #880000; }
93 code span.co { color: #60a0b0; font-style: italic; }
94 code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; }
95 code span.do { color: #ba2121; font-style: italic; }
96 code span.dt { color: #902000; }
97 code span.dv { color: #40a070; }
98 code span.er { color: #ff0000; font-weight: bold; }
99 code span.ex { }
100 code span.fl { color: #40a070; }
101 code span.fu { color: #06287e; }
102 code span.im { color: #008000; font-weight: bold; }
103 code span.in { color: #60a0b0; font-weight: bold; font-style: italic; }
104 code span.kw { color: #007020; font-weight: bold; }
105 code span.op { color: #666666; }
106 code span.ot { color: #007020; }
107 code span.pp { color: #bc7a00; }
108 code span.sc { color: #4070a0; }
109 code span.ss { color: #bb6688; }
110 code span.st { color: #4070a0; }
111 code span.va { color: #19177c; }
112 code span.vs { color: #4070a0; }
113 code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; }
114 </style>
115 <script>
116 // apply pandoc div.sourceCode style to pre.sourceCode instead
117 (function() {
118 var sheets = document.styleSheets;
119 for (var i = 0; i < sheets.length; i++) {
120 if (sheets[i].ownerNode.dataset["origin"] !== "pandoc") continue;
121 try { var rules = sheets[i].cssRules; } catch (e) { continue; }
122 var j = 0;
123 while (j < rules.length) {
124 var rule = rules[j];
125 // check if there is a div.sourceCode rule
126 if (rule.type !== rule.STYLE_RULE || rule.selectorText !== "div.sourceCode") {
127 j++;
128 continue;
129 }
130 var style = rule.style.cssText;
131 // check if color or background-color is set
132 if (rule.style.color === '' && rule.style.backgroundColor === '') {
133 j++;
134 continue;
135 }
136 // replace div.sourceCode by a pre.sourceCode rule
137 sheets[i].deleteRule(j);
138 sheets[i].insertRule('pre.sourceCode{' + style + '}', j);
139 }
140 }
141 })();
142 </script>
143
144
145
146
147 <style type="text/css">body {
148 background-color: #fff;
149 margin: 1em auto;
150 max-width: 700px;
151 overflow: visible;
152 padding-left: 2em;
153 padding-right: 2em;
154 font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
155 font-size: 14px;
156 line-height: 1.35;
157 }
158 #TOC {
159 clear: both;
160 margin: 0 0 10px 10px;
161 padding: 4px;
162 width: 400px;
163 border: 1px solid #CCCCCC;
164 border-radius: 5px;
165 background-color: #f6f6f6;
166 font-size: 13px;
167 line-height: 1.3;
168 }
169 #TOC .toctitle {
170 font-weight: bold;
171 font-size: 15px;
172 margin-left: 5px;
173 }
174 #TOC ul {
175 padding-left: 40px;
176 margin-left: -1.5em;
177 margin-top: 5px;
178 margin-bottom: 5px;
179 }
180 #TOC ul ul {
181 margin-left: -2em;
182 }
183 #TOC li {
184 line-height: 16px;
185 }
186 table {
187 margin: 1em auto;
188 border-width: 1px;
189 border-color: #DDDDDD;
190 border-style: outset;
191 border-collapse: collapse;
192 }
193 table th {
194 border-width: 2px;
195 padding: 5px;
196 border-style: inset;
197 }
198 table td {
199 border-width: 1px;
200 border-style: inset;
201 line-height: 18px;
202 padding: 5px 5px;
203 }
204 table, table th, table td {
205 border-left-style: none;
206 border-right-style: none;
207 }
208 table thead, table tr.even {
209 background-color: #f7f7f7;
210 }
211 p {
212 margin: 0.5em 0;
213 }
214 blockquote {
215 background-color: #f6f6f6;
216 padding: 0.25em 0.75em;
217 }
218 hr {
219 border-style: solid;
220 border: none;
221 border-top: 1px solid #777;
222 margin: 28px 0;
223 }
224 dl {
225 margin-left: 0;
226 }
227 dl dd {
228 margin-bottom: 13px;
229 margin-left: 13px;
230 }
231 dl dt {
232 font-weight: bold;
233 }
234 ul {
235 margin-top: 0;
236 }
237 ul li {
238 list-style: circle outside;
239 }
240 ul ul {
241 margin-bottom: 0;
242 }
243 pre, code {
244 background-color: #f7f7f7;
245 border-radius: 3px;
246 color: #333;
247 white-space: pre-wrap;
248 }
249 pre {
250 border-radius: 3px;
251 margin: 5px 0px 10px 0px;
252 padding: 10px;
253 }
254 pre:not([class]) {
255 background-color: #f7f7f7;
256 }
257 code {
258 font-family: Consolas, Monaco, 'Courier New', monospace;
259 font-size: 85%;
260 }
261 p > code, li > code {
262 padding: 2px 0px;
263 }
264 div.figure {
265 text-align: center;
266 }
267 img {
268 background-color: #FFFFFF;
269 padding: 2px;
270 border: 1px solid #DDDDDD;
271 border-radius: 3px;
272 border: 1px solid #CCCCCC;
273 margin: 0 5px;
274 }
275 h1 {
276 margin-top: 0;
277 font-size: 35px;
278 line-height: 40px;
279 }
280 h2 {
281 border-bottom: 4px solid #f7f7f7;
282 padding-top: 10px;
283 padding-bottom: 2px;
284 font-size: 145%;
285 }
286 h3 {
287 border-bottom: 2px solid #f7f7f7;
288 padding-top: 10px;
289 font-size: 120%;
290 }
291 h4 {
292 border-bottom: 1px solid #f7f7f7;
293 margin-left: 8px;
294 font-size: 105%;
295 }
296 h5, h6 {
297 border-bottom: 1px solid #ccc;
298 font-size: 105%;
299 }
300 a {
301 color: #0033dd;
302 text-decoration: none;
303 }
304 a:hover {
305 color: #6666ff; }
306 a:visited {
307 color: #800080; }
308 a:visited:hover {
309 color: #BB00BB; }
310 a[href^="http:"] {
311 text-decoration: underline; }
312 a[href^="https:"] {
313 text-decoration: underline; }
314
315 code > span.kw { color: #555; font-weight: bold; }
316 code > span.dt { color: #902000; }
317 code > span.dv { color: #40a070; }
318 code > span.bn { color: #d14; }
319 code > span.fl { color: #d14; }
320 code > span.ch { color: #d14; }
321 code > span.st { color: #d14; }
322 code > span.co { color: #888888; font-style: italic; }
323 code > span.ot { color: #007020; }
324 code > span.al { color: #ff0000; font-weight: bold; }
325 code > span.fu { color: #900; font-weight: bold; }
326 code > span.er { color: #a61717; background-color: #e3d2d2; }
327 </style>
328
329
330
331
332 </head>
333
334 <body>
335
336
337
338
339 <h1 class="title toc-ignore">The Anatomy of a Log Request</h1>
340
341
342
343 <p><svg id="svg_2a242bd4cdc6fa86ba67" style="width: 100%;" title="The structure of a logger and the flow of a log record request" alt="The structure of a logger and the flow of a log record request" fill-opacity="1" color-rendering="auto" color-interpolation="auto" text-rendering="auto" stroke="black" stroke-linecap="square" width="924" stroke-miterlimit="10" shape-rendering="auto" stroke-opacity="1" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" height="455" font-family="&#39;Dialog&#39;" font-style="normal" stroke-linejoin="miter" font-size="12px" stroke-dashoffset="0" image-rendering="auto" viewBox="0 0 924 455">
344 <!--Generated by ySVG 2.5-->
345 <defs id="svg_2a242bd4cdc6fa86ba67_genericDefs"></defs>
346 <g>
347 <defs id="svg_2a242bd4cdc6fa86ba67_defs1">
348 <linearGradient x1="419.74" gradientUnits="userSpaceOnUse" x2="499.74" y1="100.96" y2="140.96" id="svg_2a242bd4cdc6fa86ba67_linearGradient1" spreadMethod="reflect">
349 <stop stop-opacity="1" stop-color="rgb(232,238,247)" offset="0%"></stop>
350 <stop stop-opacity="1" stop-color="rgb(183,201,227)" offset="100%"></stop>
351 </linearGradient>
352 <linearGradient x1="405.24" gradientUnits="userSpaceOnUse" x2="514.24" y1="279.0787" y2="360.11" id="svg_2a242bd4cdc6fa86ba67_linearGradient2" spreadMethod="reflect">
353 <stop stop-opacity="1" stop-color="rgb(232,238,247)" offset="0%"></stop>
354 <stop stop-opacity="1" stop-color="rgb(183,201,227)" offset="100%"></stop>
355 </linearGradient>
356 <linearGradient x1="554.3615" gradientUnits="userSpaceOnUse" x2="663.3615" y1="279.0787" y2="360.11" id="svg_2a242bd4cdc6fa86ba67_linearGradient3" spreadMethod="reflect">
357 <stop stop-opacity="1" stop-color="rgb(232,238,247)" offset="0%"></stop>
358 <stop stop-opacity="1" stop-color="rgb(183,201,227)" offset="100%"></stop>
359 </linearGradient>
360 <linearGradient x1="703.483" gradientUnits="userSpaceOnUse" x2="828.483" y1="279.0787" y2="360.11" id="svg_2a242bd4cdc6fa86ba67_linearGradient4" spreadMethod="reflect">
361 <stop stop-opacity="1" stop-color="rgb(232,238,247)" offset="0%"></stop>
362 <stop stop-opacity="1" stop-color="rgb(183,201,227)" offset="100%"></stop>
363 </linearGradient>
364 <linearGradient x1="868.6044" gradientUnits="userSpaceOnUse" x2="993.6044" y1="279.0787" y2="360.11" id="svg_2a242bd4cdc6fa86ba67_linearGradient5" spreadMethod="reflect">
365 <stop stop-opacity="1" stop-color="rgb(232,238,247)" offset="0%"></stop>
366 <stop stop-opacity="1" stop-color="rgb(183,201,227)" offset="100%"></stop>
367 </linearGradient>
368 <linearGradient x1="668.283" gradientUnits="userSpaceOnUse" x2="863.6829" y1="93.1087" y2="149.18" id="svg_2a242bd4cdc6fa86ba67_linearGradient6" spreadMethod="reflect">
369 <stop stop-opacity="1" stop-color="rgb(232,238,247)" offset="0%"></stop>
370 <stop stop-opacity="1" stop-color="rgb(183,201,227)" offset="100%"></stop>
371 </linearGradient>
372 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath1">
373 <path d="M0 0 L924 0 L924 455 L0 455 L0 0 Z" />
374 </clipPath>
375 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath2">
376 <path d="M144 52 L1068 52 L1068 507 L144 507 L144 52 Z" />
377 </clipPath>
378 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath3">
379 <path d="M-7.8785 -239.991 L916.1215 -239.991 L916.1215 215.009 L-7.8785 215.009 L-7.8785 -239.991 Z" />
380 </clipPath>
381 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath4">
382 <path d="M-253.24 -193.11 L670.76 -193.11 L670.76 261.89 L-253.24 261.89 L-253.24 -193.11 Z" />
383 </clipPath>
384 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath5">
385 <path d="M144 279.0787 L144 507 L1068 507 L1068 279.0787 Z" />
386 </clipPath>
387 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath6">
388 <path d="M144 52 L144 279.0787 L1068 279.0787 L1068 52 Z" />
389 </clipPath>
390 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath7">
391 <path d="M-402.3615 -193.11 L521.6385 -193.11 L521.6385 261.89 L-402.3615 261.89 L-402.3615 -193.11 Z" />
392 </clipPath>
393 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath8">
394 <path d="M-551.483 -193.11 L372.5171 -193.11 L372.5171 261.89 L-551.483 261.89 L-551.483 -193.11 Z" />
395 </clipPath>
396 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath9">
397 <path d="M-716.6044 -193.11 L207.3956 -193.11 L207.3956 261.89 L-716.6044 261.89 L-716.6044 -193.11 Z" />
398 </clipPath>
399 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath10">
400 <path d="M-516.283 -7.14 L407.717 -7.14 L407.717 447.86 L-516.283 447.86 L-516.283 -7.14 Z" />
401 </clipPath>
402 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath11">
403 <path d="M144 93.1087 L144 507 L1068 507 L1068 93.1087 Z" />
404 </clipPath>
405 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath12">
406 <path d="M144 52 L144 93.1087 L1068 93.1087 L1068 52 Z" />
407 </clipPath>
408 <clipPath clipPathUnits="userSpaceOnUse" id="svg_2a242bd4cdc6fa86ba67_clipPath13">
409 <path d="M-320.2168 -324.5845 L450.2848 -324.5845 L450.2848 54.8292 L-320.2168 54.8292 L-320.2168 -324.5845 Z" />
410 </clipPath>
411 </defs>
412 <g fill="white" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="translate(-144,-52)" stroke="white">
413 <rect x="144" width="924" height="455" y="52" clip-path="url(#clipPath2)" stroke="none" />
414 </g>
415 <g text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,7.8785,239.991)" image-rendering="optimizeQuality">
416 <image x="0" y="0" clip-path="url(#clipPath3)" width="226" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOIAAAA9CAYAAACweLUtAAAB+ElEQVR42u3d0U7j
417 MBBA0ZCUQkmTBv7/YzcRY5iGLdpi78OuzpWuKhXJPN06dh6m6wAAAAAAAAAA9/MQ
418 9iT/2NJNswi3RYfVQ/hI8qalkyEF2STCbfGn1efVU/KZ5If7Np6ineoY+yh7W3Rc
419 nVbncCL5rWO0c4iWfrwbDlH1tuBl9TV5IXnlEuZGxmho+Omu+JB2wykWfovPxa8d
420 +cU5BVlamdKuWBXiKYVYKj87I5JfzocvsQPOqZc5/lYV4mMKcdlF6HaMvPaY7lPK
421 zjinXpqEeIlFX+If5vckJN/PgaWZOTVTHWI5I55jwXN63gVw+4LznN4uNDkjChEQ
422 IiBEIQJCBIQoRECIgBCFCAgREKIQASECQhQiIERAiEIEhAgIUYiAEAEhChEQIiBE
423 IQJCBIQoRECIgBCFCAgREKIQASECQhQiIERAiEIE/tEQ92PZpq5yxBTwH9N311O2
424 m41luzUfscwE70l+uEV47P7SfEQTg8n6icFNzohbiGUmeI7R7HTy3VM8LY4RX+ll
425 bnlZU0J8i88lviP56Zx2wtJKk8uaIbbbstW+7nZGkp8uYW5kjIaGmgvOfAs07sr3
426 C0h+75h2w772vUi+DSrPwidnRPK358TcxTFFWP26r8Q4xKIHt2PkTQ/JoVWE+yBJ
427 3icAAAAAAAAA4G5+AYl+hEQBLQOzAAAAAElFTkSuQmCC" height="61" preserveAspectRatio="none"></image>
428 <path stroke-linecap="butt" transform="matrix(1,0,0,1,-151.8785,-291.991)" clip-path="url(#clipPath2)" fill="none" image-rendering="auto" d="M159.8785 299.991 L365.1185 299.991 L365.1185 339.991 L159.8785 339.991 Z" stroke-miterlimit="1.45" />
429 </g>
430 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" font-family="monospace" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
431 <text x="172.1909" xml:space="preserve" y="324.1453" clip-path="url(#clipPath2)" stroke="none">log_info(&#39;Hello, {name}&#39;)</text>
432 </g>
433 <g fill="url(#linearGradient1)" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,-144,-52)" stroke="url(#linearGradient1)">
434 <path d="M419.74 100.96 L499.74 100.96 L499.74 140.96 L419.74 140.96 Z" stroke="none" clip-path="url(#clipPath2)" />
435 </g>
436 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
437 <path fill="none" d="M419.74 100.96 L499.74 100.96 L499.74 140.96 L419.74 140.96 Z" clip-path="url(#clipPath2)" />
438 <text x="433.7068" xml:space="preserve" y="125.1143" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">/dev/null</text>
439 </g>
440 <g fill="rgb(245,245,245)" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,-144,-52)" stroke="rgb(245,245,245)">
441 <rect x="381.28" y="161.8441" clip-path="url(#clipPath2)" width="633.0844" rx="4" ry="4" height="268.0709" stroke="none" />
442 </g>
443 <g fill="rgb(235,235,235)" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,-144,-52)" stroke="rgb(235,235,235)">
444 <rect x="381.28" width="633.0844" height="21.4609" y="161.8441" clip-path="url(#clipPath2)" stroke="none" />
445 </g>
446 <g font-size="15px" stroke-linecap="butt" transform="matrix(1,0,0,1,-144,-52)" text-rendering="geometricPrecision" font-family="monospace" shape-rendering="geometricPrecision" stroke-miterlimit="1.45">
447 <text x="958.1799" xml:space="preserve" y="177.7674" clip-path="url(#clipPath2)" stroke="none">logger</text>
448 <rect x="381.28" y="161.8441" clip-path="url(#clipPath2)" fill="none" width="633.0844" rx="4" ry="4" height="268.0709" />
449 </g>
450 <g text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,253.24,193.11)" image-rendering="optimizeQuality">
451 <image x="0" y="0" clip-path="url(#clipPath4)" width="130" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAACACAYAAADHy7H2AAADLUlEQVR42u3Ya08T
452 QRiG4Z52S0sp5VRKKSipFiigopxFDiJa9P//H59Jnk0aE2PSXeKQ3G9yfe0mnXtn
453 pi2VGIZhGIZhGIZhip6yVRClbH2eNYDwoJokklodUcjWI6xNdSqKZwkgPLAhLWnL
454 IqIR1mNB5r1GqYMoLIYsgoYftiLr0pdNGSAKYS02pCvLflnrXrtyEbtBFkFHevJK
455 3sq+HCAaY9mToWw7iLZjqBaxG9T9gT0/5FA+yblcIhoXcibHjmJH1rwzJHl2hWw3
456 aMqqvJYjB3AjX+UBUbmTazl1DFuyJHN+qWcOIfEFJJw9u37ArTzKRJ4QlR8O4to7
457 w9C7QjPP8ZAdCx2XFY6EKz8oPPQXovPTMdz5mBj5SG95d585hDlvLeGC+N6lPfqB
458 fPFxhjDxsX3hy2Pfu3ruEJZ9P/ggXwjhRYWwTwiEQAiEQAiEQAggBBACCAGEAEIA
459 IYAQQAggBBACCAH5TIcwngohIQRCIARCIARCIARCIAQQAggBhABCwL/+WRzzzyIh
460 8BczIRACIRACCAGEAEIAIYAQQAggBBACCAGEAEIAIYAQQAggBBACCAGEAEIAIYAQ
461 QAggBBACCAGEAEIAIYAQ+NIJgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAI
462 gRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRBACCAEEAIIAYQAQgAh
463 gBBACCAEEAIIAYQAQgAhgBDwokJYkm15J9fyjRCiD+FezmVPNooIoS6LMpADuXRt
464 T8QQpbAu3+VWTmUk6zKfN4TUNfVkV07kxsfDBNEJETzIZzmWoaxJU6qzhlB2ReFD
465 Vn1POPKWc+Od4QHRCOtx5+M7vLBj2ZKOd/ZKKcdU/SFt7wpDx3Diy0g4Kq4QhbAW
466 Z/LREexIV1qS+MUu5d0VGi6r551h5IcdIhoH/pXwxpf7rl/gep5j4c+7Qs2/IMIH
467 r/gC0vclcuAtCP9PWINNr0nXP/kXpiIolwqaLIbUu0PLUSwiGm0v/rxf2rToCKaP
468 iYo/vOZzJ0VUEq9N1WtVeAR/CwPxYRiGYRiGYRiGeYb5DY/SiPyNKcC+AAAAAElF
469 TkSuQmCC" height="128" preserveAspectRatio="none"></image>
470 <rect x="405.24" y="253.11" transform="matrix(1,0,0,1,-397.24,-245.11)" clip-path="url(#clipPath5)" fill="url(#linearGradient2)" width="109" image-rendering="auto" rx="4" ry="4" height="107" stroke="none" />
471 <rect x="405.24" y="253.11" transform="matrix(1,0,0,1,-397.24,-245.11)" clip-path="url(#clipPath6)" fill="rgb(183,201,227)" width="109" image-rendering="auto" rx="4" ry="4" height="107" stroke="none" />
472 <rect stroke-linecap="butt" x="405.24" y="253.11" transform="matrix(1,0,0,1,-397.24,-245.11)" clip-path="url(#clipPath2)" fill="none" width="109" image-rendering="auto" rx="4" ry="4" height="107" stroke-miterlimit="1.45" />
473 <line stroke-linecap="butt" transform="matrix(1,0,0,1,-397.24,-245.11)" clip-path="url(#clipPath2)" fill="none" x1="405.24" x2="514.24" y1="279.0788" image-rendering="auto" y2="279.0788" stroke-miterlimit="1.45"></line>
474 </g>
475 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" font-family="monospace" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
476 <text x="412.78" xml:space="preserve" y="270.2487" clip-path="url(#clipPath2)" stroke="none">log_threshold</text>
477 <text x="409.24" xml:space="preserve" y="296.2174" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">Throws away</text>
478 <text x="409.24" xml:space="preserve" y="310.1862" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">low level log</text>
479 <text x="409.24" xml:space="preserve" y="324.1549" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">requests</text>
480 </g>
481 <g text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,402.3615,193.11)" image-rendering="optimizeQuality">
482 <image x="0" y="0" clip-path="url(#clipPath7)" width="130" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAACACAYAAADHy7H2AAADLUlEQVR42u3Ya08T
483 QRiG4Z52S0sp5VRKKSipFiigopxFDiJa9P//H59Jnk0aE2PSXeKQ3G9yfe0mnXtn
484 pi2VGIZhGIZhGIZhip6yVRClbH2eNYDwoJokklodUcjWI6xNdSqKZwkgPLAhLWnL
485 IqIR1mNB5r1GqYMoLIYsgoYftiLr0pdNGSAKYS02pCvLflnrXrtyEbtBFkFHevJK
486 3sq+HCAaY9mToWw7iLZjqBaxG9T9gT0/5FA+yblcIhoXcibHjmJH1rwzJHl2hWw3
487 aMqqvJYjB3AjX+UBUbmTazl1DFuyJHN+qWcOIfEFJJw9u37ArTzKRJ4QlR8O4to7
488 w9C7QjPP8ZAdCx2XFY6EKz8oPPQXovPTMdz5mBj5SG95d585hDlvLeGC+N6lPfqB
489 fPFxhjDxsX3hy2Pfu3ruEJZ9P/ggXwjhRYWwTwiEQAiEQAiEQAggBBACCAGEAEIA
490 IYAQQAggBBACCAH5TIcwngohIQRCIARCIARCIARCIAQQAggBhABCwL/+WRzzzyIh
491 8BczIRACIRACCAGEAEIAIYAQQAggBBACCAGEAEIAIYAQQAggBBACCAGEAEIAIYAQ
492 QAggBBACCAGEAEIAIYAQ+NIJgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAI
493 gRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRAIgRBACCAEEAIIAYQAQgAh
494 gBBACCAEEAIIAYQAQgAhgBDwokJYkm15J9fyjRCiD+FezmVPNooIoS6LMpADuXRt
495 T8QQpbAu3+VWTmUk6zKfN4TUNfVkV07kxsfDBNEJETzIZzmWoaxJU6qzhlB2ReFD
496 Vn1POPKWc+Od4QHRCOtx5+M7vLBj2ZKOd/ZKKcdU/SFt7wpDx3Diy0g4Kq4QhbAW
497 Z/LREexIV1qS+MUu5d0VGi6r551h5IcdIhoH/pXwxpf7rl/gep5j4c+7Qs2/IMIH
498 r/gC0vclcuAtCP9PWINNr0nXP/kXpiIolwqaLIbUu0PLUSwiGm0v/rxf2rToCKaP
499 iYo/vOZzJ0VUEq9N1WtVeAR/CwPxYRiGYRiGYRiGeYb5DY/SiPyNKcC+AAAAAElF
500 TkSuQmCC" height="128" preserveAspectRatio="none"></image>
501 <rect x="554.3615" y="253.11" transform="matrix(1,0,0,1,-546.3615,-245.11)" clip-path="url(#clipPath5)" fill="url(#linearGradient3)" width="109" image-rendering="auto" rx="4" ry="4" height="107" stroke="none" />
502 <rect x="554.3615" y="253.11" transform="matrix(1,0,0,1,-546.3615,-245.11)" clip-path="url(#clipPath6)" fill="rgb(183,201,227)" width="109" image-rendering="auto" rx="4" ry="4" height="107" stroke="none" />
503 <rect stroke-linecap="butt" x="554.3615" y="253.11" transform="matrix(1,0,0,1,-546.3615,-245.11)" clip-path="url(#clipPath2)" fill="none" width="109" image-rendering="auto" rx="4" ry="4" height="107" stroke-miterlimit="1.45" />
504 <line stroke-linecap="butt" transform="matrix(1,0,0,1,-546.3615,-245.11)" clip-path="url(#clipPath2)" fill="none" x1="554.3615" x2="663.3615" y1="279.0788" image-rendering="auto" y2="279.0788" stroke-miterlimit="1.45"></line>
505 </g>
506 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" font-family="monospace" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
507 <text x="561.9015" xml:space="preserve" y="270.2487" clip-path="url(#clipPath2)" stroke="none">log_formatter</text>
508 <text x="558.3615" xml:space="preserve" y="296.2174" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">Converts the R </text>
509 <text x="558.3615" xml:space="preserve" y="310.1862" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">objects to be</text>
510 <text x="558.3615" xml:space="preserve" y="324.1549" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">logged into a </text>
511 <text x="558.3615" xml:space="preserve" y="338.1237" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">character vector</text>
512 </g>
513 <g text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,551.4829,193.11)" image-rendering="optimizeQuality">
514 <image x="0" y="0" clip-path="url(#clipPath8)" width="146" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAACACAYAAADgZTAeAAADJklEQVR42u3X205T
515 QRiG4UJp2QgVNAhSVIxKcJuogFaNG9yh3v/9+K/ka8KJJ7YeMD5/8pyuSTpvZqa9
516 njHGGGOMMcaYtmYhFmnSdH//aUDdQktlUIaxTBOm+9ntbf9CVP8koG7B1bJeRuUq
517 zej2c6NcyR4PE9TcYppGtJrFrpedslfGZZ8mdHt5s9wo13JYLGfvF+ZxGnUfWimb
518 ZbfcKQ/Kw/KYZjwqR+VeuZ2gRompP4/TaDkf3M0iT8rL8qpMaMbrclqeJ6q7ZTsn
519 02CWU2l6Gq3lOjsoTxPQ+3JWPtOUj+VdOUlMt8pWbqTFWUIa5AHWnUaH5bh8KF/L
520 eflBU74nqC6mF7mBtvMA789yrQ3zoh/nHp1koW7RXzTnZ2L6lJvnKA/wjdxOM72P
521 NnPEddfa25xGP/3ozTrPYTHJ4THOG3kwj5C6V/wzIf1XIb3JH6v93EpCQkgICSEJ
522 SUhCQkgICSEJCSEhJIQkJCEJCSEhJIQkJCEJCSEhJIQkJCEJCSEhJIQkJISEkBCS
523 kIQkJISEkBCSkIQkJISEkBCSkBASQkJICElICAkhISQhCUlICAkhISQhCUlICAkh
524 ISQhISSEhJAQkpAQEkJCSEISkpAQEkJCSEISkpAQEkJCSEJCSAgJISEkISEkhISQ
525 hCQkISEkhISQhCQkISEkhISQhISQEBJC8oMLSUgICSEhJCEJSUgICSEhJCEJSUgI
526 CSEhJCEhJC5XSLfK03z8i5CaD+msTMqjMi6jWUMa5iPjfPR1FjkXU5O6Pf1WPpbT
527 clR2y3pZ+tuQFlLhej52WI7L+1xv5zTne661d+V5uV+2y1rpzxLSUj5yvRzkenuV
528 mM6yKG3o9vNTIjrJDdQ9abbKSm6o3qzvpFFOpXuJ6TjX3CTvJi6/SQ6JF4nobrmR
529 G2mQg6U366m0mkf3bk6mwyz2hGY8Lg9znd1ORKMcJP3eHGYxMa3kw901t1P28tdw
530 P0cgl9d+/lDtJaBrZeNCRAu9Oc00pmFOp/VEdZVmjBLPlRwaw3lHdPGaW8zHl3Jv
531 DmnKIHvbz17PPaI/hUV7jDHGGGOMMcY0N78BCJqDZOCjlbMAAAAASUVORK5CYII=" height="128" preserveAspectRatio="none"></image>
532 <rect x="703.4829" y="253.11" transform="matrix(1,0,0,1,-695.4829,-245.11)" clip-path="url(#clipPath5)" fill="url(#linearGradient4)" width="125" image-rendering="auto" rx="4" ry="4" height="107" stroke="none" />
533 <rect x="703.4829" y="253.11" transform="matrix(1,0,0,1,-695.4829,-245.11)" clip-path="url(#clipPath6)" fill="rgb(183,201,227)" width="125" image-rendering="auto" rx="4" ry="4" height="107" stroke="none" />
534 <rect stroke-linecap="butt" x="703.4829" y="253.11" transform="matrix(1,0,0,1,-695.4829,-245.11)" clip-path="url(#clipPath2)" fill="none" width="125" image-rendering="auto" rx="4" ry="4" height="107" stroke-miterlimit="1.45" />
535 <line stroke-linecap="butt" transform="matrix(1,0,0,1,-695.4829,-245.11)" clip-path="url(#clipPath2)" fill="none" x1="703.4829" x2="828.4829" y1="279.0788" image-rendering="auto" y2="279.0788" stroke-miterlimit="1.45"></line>
536 </g>
537 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" font-family="sans-serif" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
538 <text x="735.1158" xml:space="preserve" y="270.2487" clip-path="url(#clipPath2)" stroke="none">log_layout</text>
539 <text x="707.483" xml:space="preserve" y="296.2174" clip-path="url(#clipPath2)" stroke="none">Render actual</text>
540 <text x="707.483" xml:space="preserve" y="310.1862" clip-path="url(#clipPath2)" stroke="none">log record(s)</text>
541 <text x="707.483" xml:space="preserve" y="324.1549" clip-path="url(#clipPath2)" stroke="none">from the message</text>
542 </g>
543 <g text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,716.6044,193.11)" image-rendering="optimizeQuality">
544 <image x="0" y="0" clip-path="url(#clipPath9)" width="146" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAACACAYAAADgZTAeAAADJklEQVR42u3X205T
545 QRiG4UJp2QgVNAhSVIxKcJuogFaNG9yh3v/9+K/ka8KJJ7YeMD5/8pyuSTpvZqa9
546 njHGGGOMMcaYtmYhFmnSdH//aUDdQktlUIaxTBOm+9ntbf9CVP8koG7B1bJeRuUq
547 zej2c6NcyR4PE9TcYppGtJrFrpedslfGZZ8mdHt5s9wo13JYLGfvF+ZxGnUfWimb
548 ZbfcKQ/Kw/KYZjwqR+VeuZ2gRompP4/TaDkf3M0iT8rL8qpMaMbrclqeJ6q7ZTsn
549 02CWU2l6Gq3lOjsoTxPQ+3JWPtOUj+VdOUlMt8pWbqTFWUIa5AHWnUaH5bh8KF/L
550 eflBU74nqC6mF7mBtvMA789yrQ3zoh/nHp1koW7RXzTnZ2L6lJvnKA/wjdxOM72P
551 NnPEddfa25xGP/3ozTrPYTHJ4THOG3kwj5C6V/wzIf1XIb3JH6v93EpCQkgICSEJ
552 SUhCQkgICSEJCSEhJIQkJCEJCSEhJIQkJCEJCSEhJIQkJCEJCSEhJIQkJISEkBCS
553 kIQkJISEkBCSkIQkJISEkBCSkBASQkJICElICAkhISQhCUlICAkhISQhCUlICAkh
554 ISQhISSEhJAQkpAQEkJCSEISkpAQEkJCSEISkpAQEkJCSEJCSAgJISEkISEkhISQ
555 hCQkISEkhISQhCQkISEkhISQhISQEBJC8oMLSUgICSEhJCEJSUgICSEhJCEJSUgI
556 CSEhJCEhJC5XSLfK03z8i5CaD+msTMqjMi6jWUMa5iPjfPR1FjkXU5O6Pf1WPpbT
557 clR2y3pZ+tuQFlLhej52WI7L+1xv5zTne661d+V5uV+2y1rpzxLSUj5yvRzkenuV
558 mM6yKG3o9vNTIjrJDdQ9abbKSm6o3qzvpFFOpXuJ6TjX3CTvJi6/SQ6JF4nobrmR
559 G2mQg6U366m0mkf3bk6mwyz2hGY8Lg9znd1ORKMcJP3eHGYxMa3kw901t1P28tdw
560 P0cgl9d+/lDtJaBrZeNCRAu9Oc00pmFOp/VEdZVmjBLPlRwaw3lHdPGaW8zHl3Jv
561 DmnKIHvbz17PPaI/hUV7jDHGGGOMMcY0N78BCJqDZOCjlbMAAAAASUVORK5CYII=" height="128" preserveAspectRatio="none"></image>
562 <rect x="868.6044" y="253.11" transform="matrix(1,0,0,1,-860.6044,-245.11)" clip-path="url(#clipPath5)" fill="url(#linearGradient5)" width="125" image-rendering="auto" rx="4" ry="4" height="107" stroke="none" />
563 <rect x="868.6044" y="253.11" transform="matrix(1,0,0,1,-860.6044,-245.11)" clip-path="url(#clipPath6)" fill="rgb(183,201,227)" width="125" image-rendering="auto" rx="4" ry="4" height="107" stroke="none" />
564 <rect stroke-linecap="butt" x="868.6044" y="253.11" transform="matrix(1,0,0,1,-860.6044,-245.11)" clip-path="url(#clipPath2)" fill="none" width="125" image-rendering="auto" rx="4" ry="4" height="107" stroke-miterlimit="1.45" />
565 <line stroke-linecap="butt" transform="matrix(1,0,0,1,-860.6044,-245.11)" clip-path="url(#clipPath2)" fill="none" x1="868.6044" x2="993.6044" y1="279.0788" image-rendering="auto" y2="279.0788" stroke-miterlimit="1.45"></line>
566 </g>
567 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" font-family="monospace" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
568 <text x="887.7568" xml:space="preserve" y="270.2487" clip-path="url(#clipPath2)" stroke="none">log_appender</text>
569 <text x="872.6044" xml:space="preserve" y="296.2174" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">Deliver log record</text>
570 <text x="872.6044" xml:space="preserve" y="310.1862" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">to destination</text>
571 </g>
572 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
573 <rect fill="none" x="446.7707" width="175.06" height="18.48" y="396.435" clip-path="url(#clipPath2)" />
574 <text x="452.8613" xml:space="preserve" y="409.8293" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">message &lt;- &quot;Hello, world!&quot;</text>
575 <rect fill="none" x="466.12" width="306.84" height="18.48" y="198.305" clip-path="url(#clipPath2)" />
576 <text x="470.9345" xml:space="preserve" y="211.6993" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">line &lt;- &quot;INFO [2019-09-19 04:58:13] {message}&quot;</text>
577 <rect fill="none" x="773.0341" width="151.0193" height="18.48" y="396.435" clip-path="url(#clipPath2)" />
578 <text x="779.3181" xml:space="preserve" y="409.8293" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none">cat(line, file = stderr())</text>
579 </g>
580 <g text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,516.2829,7.14)" image-rendering="optimizeQuality">
581 <image x="0" y="0" clip-path="url(#clipPath10)" width="216" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAABnCAYAAABivIxNAAADVUlEQVR42u3cb09T
582 dxjH4bZCC3VA3ZiCiOCfuUVBjGJEMM6ALOLe//vxPtn3JM0eLW3JktPrTq6H9CTN
583 75P7nJNqr2eMMcYYY4wxxhhjjDGLnn4M4g502GBKe/ZvLazmIitltQzLKNagg9rz
584 PcyZX0l0/dsKq7nYuPxUtsok7kEHtee7OesbOfujtDBYVGhtXOtls/xSHpS9sl8e
585 Q4ft56zvlO3ENs5GGyxie61kXU5ykcPyorwsR+U1dNhRznpz5p+U3Wy39bTRn3d7
586 jbK5mrieleNyWs7KebmADjvPWT9NcL+Vh1k4a/NssXZ7jXNbeJi4mov9WS7L17iG
587 DmrP91XO/MfyJovmfrmbRmYObDUPdztZkae50F/lJr5Dh7XnvDnzX8qH3DLu5Xls
588 OOtt4iB/vJUPe5WCr3LBv2GJ3GSbfSon5SDPYqNZbxPb569J3qQc5570OmX70lkm
589 37PFPpe35WkendYWEdjjPOAJjGUPrHlEepfnMIGBwEBgAkNgAgOBgcAEBgIDgYHA
590 BAYCA4GBwAQGAgOBgcAEBgsIrPmX/c97//wvU+sCA4GBwASGwAQGAgOBCQwEBgID
591 gQkM/usvObb9kgP8VAoEJjAEJjAQGAhMYCAwEBgITGAgMBAYCExgIDAQGAhMYCAw
592 EJgvHYEJDAQGAhMYAhMYCAwEJjAQGAgMBCYwEBgIDAQmMBAYCAwEJjAQGAgMBCYw
593 EBgITGAITGAgMBCYwEBgIDAQmMBAYCAwEJjA4P8PbL8cl/PyVWAsaWDNcvlc3pan
594 5ed5AxuWrbJXXpWzclVufOEsWVzfslw+lZNyUO5lCc0c2GrZKDvl93KaFXmdC97A
595 EviWM/+lfCgvs3Q2s4T6swTW/NFKGZft8iS3iWeJ7DJFQ9dd5sx/LG/y/HW/3E0j
596 M8+drMCm1N3yPC873udiF1mZ0FUXOevvc2v4IttrMs/z17+32Ho+cDebrLldPEps
597 J9Bhr3PW/8iLjYd5uTFOG/3enDOYimwzt4tNaI/y+r552DuEDjrIGX+UM/9rXvqN
598 835i0FvQtJGN8uEbudAkb1KgqyY56xs5+6O0sLC4pm8X29BW8/ZkBEtgmDPfhtXv
599 3fL0pwygw6bPujHGGGOMMcYYY4wxxix4fgDQ5KqqhYr/cAAAAABJRU5ErkJggg==" height="103" preserveAspectRatio="none"></image>
600 <rect x="668.2829" y="67.14" transform="matrix(1,0,0,1,-660.2829,-59.14)" clip-path="url(#clipPath11)" fill="url(#linearGradient6)" width="195.4" image-rendering="auto" rx="4" ry="4" height="82.04" stroke="none" />
601 <rect x="668.2829" y="67.14" transform="matrix(1,0,0,1,-660.2829,-59.14)" clip-path="url(#clipPath12)" fill="rgb(183,201,227)" width="195.4" image-rendering="auto" rx="4" ry="4" height="82.04" stroke="none" />
602 <rect stroke-linecap="butt" x="668.2829" y="67.14" transform="matrix(1,0,0,1,-660.2829,-59.14)" clip-path="url(#clipPath2)" fill="none" width="195.4" image-rendering="auto" rx="4" ry="4" height="82.04" stroke-miterlimit="1.45" />
603 <line stroke-linecap="butt" transform="matrix(1,0,0,1,-660.2829,-59.14)" clip-path="url(#clipPath2)" fill="none" x1="668.2829" x2="863.6829" y1="93.1088" image-rendering="auto" y2="93.1088" stroke-miterlimit="1.45"></line>
604 </g>
605 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" font-family="sans-serif" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
606 <text x="685.1207" xml:space="preserve" y="84.2787" clip-path="url(#clipPath2)" stroke="none">get_logger_meta_variables</text>
607 <text x="672.283" xml:space="preserve" y="110.2474" clip-path="url(#clipPath2)" stroke="none">Collect useful information</text>
608 <text x="672.283" xml:space="preserve" y="124.2162" clip-path="url(#clipPath2)" stroke="none">about the environment of</text>
609 <text x="672.283" xml:space="preserve" y="138.1849" clip-path="url(#clipPath2)" stroke="none">the log record request.</text>
610 </g>
611 <g text-rendering="geometricPrecision" shape-rendering="geometricPrecision" transform="matrix(1.1992,0,0,1.1992,384.01,389.2478)" image-rendering="optimizeQuality">
612 <image x="0" y="0" clip-path="url(#clipPath13)" width="276" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAA2CAYAAAAGY2bwAAAB6ElEQVR42u3dzWrD
613 MBAA4cTOn+3Yyfs/bW1Y0SXQS6xDkb+BoRCoetpBUgo6nQAAAAAAAAAAANA2Z5KH
614 tlpIutU+vJA8lH004FwrJtuit9U7ycO5zf41wrIrKiUm26LD6rT6DCeSTZvnfIiw
615 fB2Vc/zytsi4Oq++kjPJZl3CMu9bXB6xU9kVlHssti36jp+LXQrZ/O5kSXO/xMbi
616 FieXr4JyiSo9P3YmU3xOsk3LFcecNhFTzaAssfiYtj5uwMk2vcWcT+n4M8WJpa8R
617 lPnjHNX5Xp5s1nJ/OqT53x2UcodSzlRjuukF0PY/sl7+mP+vjzyCAgiKoAAQFACC
618 AkBQBAWAoAAQFACCIiiAoAgKAEEBICgABEVQAAgKAEEBICiCAgiKoAAQFACCAkBQ
619 BAWAoAAQFACCIiiAoAgKgH8QlM+HvsoTpB76Io/x0Nfn/Fd/OXBIu5SOZJOW3ckY
620 s5+DUu1t4/K+aYkKyTa9n36fIc2zX+UOZVv0Fc7pPDWQbNIpxeQVP6teym4LvsPy
621 B2aSTbqkTcQ7PhvS/elXdLFAvkdZxIQ8RFDyrJf7k0tsNk57dinXdKYaHXfI5s1z
622 /kgx6fYEpUSl3PpeQ5dWZPtek32NmOSonH2VRh7WKiEBAAAAAAAAAADAf+QHNUyH
623 MDwm55oAAAAASUVORK5CYII=" height="54" preserveAspectRatio="none"></image>
624 <path stroke-linecap="butt" transform="matrix(0.8339,0,0,0.8339,-440.295,-367.9461)" clip-path="url(#clipPath2)" fill="none" image-rendering="auto" d="M538.0022 451.24 L844.8422 451.24 L844.8422 491.24 L538.0022 491.24 Z" stroke-miterlimit="1.45" />
625 </g>
626 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" font-family="monospace" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
627 <text x="546.9301" xml:space="preserve" y="475.3943" clip-path="url(#clipPath2)" stroke="none">INFO [2019-09-19 04:58:13] Hello, world!</text>
628 </g>
629 <g text-rendering="geometricPrecision" stroke-miterlimit="1.45" shape-rendering="geometricPrecision" transform="matrix(1,0,0,1,-144,-52)" stroke-linecap="butt">
630 <path fill="none" d="M215.36 300.0172 L215.36 266.11 L380.5 266.11 L397.2166 266.11" clip-path="url(#clipPath2)" />
631 <path d="M405.2166 266.11 L393.2166 261.11 L396.2166 266.11 L393.2166 271.11 Z" clip-path="url(#clipPath2)" stroke="none" />
632 <path fill="none" stroke-dasharray="6,2" d="M459.74 253.0815 L459.74 148.9911" clip-path="url(#clipPath2)" />
633 <path stroke-dasharray="6,2" d="M459.74 140.9911 L454.74 152.9911 L459.74 149.9911 L464.74 152.9911 Z" clip-path="url(#clipPath2)" stroke="none" />
634 <path fill="none" d="M461.5 360.1481 L461.5 381.11 L608.8615 381.11 L608.8615 376.11 L608.8615 368.1263" clip-path="url(#clipPath2)" />
635 <path d="M608.8615 360.1263 L603.8615 372.1263 L608.8615 369.1263 L613.8615 372.1263 Z" clip-path="url(#clipPath2)" stroke="none" />
636 <rect x="487.3884" y="372.1256" clip-path="url(#clipPath2)" fill="rgb(255,153,0)" width="105.1445" height="17.9688" stroke="none" />
637 <rect stroke-linecap="square" x="487.3884" y="372.1256" clip-path="url(#clipPath2)" fill="none" width="105.1445" height="17.9688" stroke-miterlimit="1.6" />
638 <text x="489.3884" xml:space="preserve" y="385.2643" clip-path="url(#clipPath2)" font-family="monospace" stroke="none">formatter_glue</text>
639 <path fill="none" d="M608.8615 253.0787 L608.8615 232.081 L747.2 232.081 L747.2 245.1363" clip-path="url(#clipPath2)" />
640 <path d="M747.2 253.1363 L752.2 241.1363 L747.2 244.1363 L742.2 241.1363 Z" clip-path="url(#clipPath2)" stroke="none" />
641 <rect x="629.0708" y="223.0966" clip-path="url(#clipPath2)" fill="rgb(255,153,0)" width="97.9199" height="17.9688" stroke="none" />
642 <rect stroke-linecap="square" x="629.0708" y="223.0966" clip-path="url(#clipPath2)" fill="none" width="97.9199" height="17.9688" stroke-miterlimit="1.6" />
643 <text x="631.0708" xml:space="preserve" y="236.2353" clip-path="url(#clipPath2)" font-family="monospace" stroke="none">layout_simple</text>
644 <path fill="none" d="M765.983 360.0872 L765.983 380.561 L931.1044 380.561 L931.1044 368.0872" clip-path="url(#clipPath2)" />
645 <path d="M931.1044 360.0872 L926.1044 372.0872 L931.1044 369.0872 L936.1044 372.0872 Z" clip-path="url(#clipPath2)" stroke="none" />
646 <rect x="788.7468" y="371.5766" clip-path="url(#clipPath2)" fill="rgb(255,153,0)" width="119.5938" height="17.9688" stroke="none" />
647 <rect stroke-linecap="square" x="788.7468" y="371.5766" clip-path="url(#clipPath2)" fill="none" width="119.5938" height="17.9688" stroke-miterlimit="1.6" />
648 <text x="790.7468" xml:space="preserve" y="384.7153" clip-path="url(#clipPath2)" font-family="monospace" stroke="none">appender_console</text>
649 <path fill="none" d="M781.76 149.1519 L781.76 245.1369" clip-path="url(#clipPath2)" />
650 <path d="M781.76 253.1369 L786.76 241.1369 L781.76 244.1369 L776.76 241.1369 Z" clip-path="url(#clipPath2)" stroke="none" />
651 <path fill="none" d="M993.5966 306.61 L1052.8199 306.61 L1052.8199 471.24 L852.8134 471.24" clip-path="url(#clipPath2)" />
652 <path d="M844.8134 471.24 L856.8134 476.24 L853.8134 471.24 L856.8134 466.24 Z" clip-path="url(#clipPath2)" stroke="none" />
653 </g>
654 </g>
655 </svg></p>
656 <p>To make a successful log record, <code>logger</code> requires the
657 below components:</p>
658 <ul>
659 <li><p>a <strong>log request</strong>, eg</p>
660 <div class="sourceCode" id="cb1"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" tabindex="-1"></a><span class="fu">log_error</span>(<span class="st">&#39;Oops&#39;</span>)</span></code></pre></div>
661 <ul>
662 <li>including the log level (importance) of the record, which will be
663 later used to decide if the log record is to be delivered or not:
664 <code>ERROR</code> in this case</li>
665 <li>R objects to be logged: a simple string in this case, although it
666 could be a character vector or any R object(s) that can be converted
667 into a character vector by the <code>formatter</code> function</li>
668 </ul></li>
669 <li><p>the <strong>environment</strong> and meta-information of the log
670 request, eg actual timestamp, hostname of the computer, the name of the
671 user running the R script, the pid of the R process, calling function
672 and the actual call etc.</p>
673 <div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" tabindex="-1"></a>f <span class="ot">&lt;-</span> <span class="cf">function</span>() <span class="fu">get_logger_meta_variables</span>(<span class="at">log_level =</span> INFO)</span>
674 <span id="cb2-2"><a href="#cb2-2" tabindex="-1"></a><span class="fu">f</span>()</span>
675 <span id="cb2-3"><a href="#cb2-3" tabindex="-1"></a><span class="co">#&gt; $ns</span></span>
676 <span id="cb2-4"><a href="#cb2-4" tabindex="-1"></a><span class="co">#&gt; [1] NA</span></span>
677 <span id="cb2-5"><a href="#cb2-5" tabindex="-1"></a><span class="co">#&gt; </span></span>
678 <span id="cb2-6"><a href="#cb2-6" tabindex="-1"></a><span class="co">#&gt; $ans</span></span>
679 <span id="cb2-7"><a href="#cb2-7" tabindex="-1"></a><span class="co">#&gt; [1] &quot;global&quot;</span></span>
680 <span id="cb2-8"><a href="#cb2-8" tabindex="-1"></a><span class="co">#&gt; </span></span>
681 <span id="cb2-9"><a href="#cb2-9" tabindex="-1"></a><span class="co">#&gt; $topenv</span></span>
682 <span id="cb2-10"><a href="#cb2-10" tabindex="-1"></a><span class="co">#&gt; [1] &quot;R_GlobalEnv&quot;</span></span>
683 <span id="cb2-11"><a href="#cb2-11" tabindex="-1"></a><span class="co">#&gt; </span></span>
684 <span id="cb2-12"><a href="#cb2-12" tabindex="-1"></a><span class="co">#&gt; $fn</span></span>
685 <span id="cb2-13"><a href="#cb2-13" tabindex="-1"></a><span class="co">#&gt; [1] &quot;f&quot;</span></span>
686 <span id="cb2-14"><a href="#cb2-14" tabindex="-1"></a><span class="co">#&gt; </span></span>
687 <span id="cb2-15"><a href="#cb2-15" tabindex="-1"></a><span class="co">#&gt; $call</span></span>
688 <span id="cb2-16"><a href="#cb2-16" tabindex="-1"></a><span class="co">#&gt; [1] &quot;f()&quot;</span></span>
689 <span id="cb2-17"><a href="#cb2-17" tabindex="-1"></a><span class="co">#&gt; </span></span>
690 <span id="cb2-18"><a href="#cb2-18" tabindex="-1"></a><span class="co">#&gt; $location</span></span>
691 <span id="cb2-19"><a href="#cb2-19" tabindex="-1"></a><span class="co">#&gt; $location$path</span></span>
692 <span id="cb2-20"><a href="#cb2-20" tabindex="-1"></a><span class="co">#&gt; [1] &quot;&lt;console&gt;&quot;</span></span>
693 <span id="cb2-21"><a href="#cb2-21" tabindex="-1"></a><span class="co">#&gt; </span></span>
694 <span id="cb2-22"><a href="#cb2-22" tabindex="-1"></a><span class="co">#&gt; </span></span>
695 <span id="cb2-23"><a href="#cb2-23" tabindex="-1"></a><span class="co">#&gt; $time</span></span>
696 <span id="cb2-24"><a href="#cb2-24" tabindex="-1"></a><span class="co">#&gt; [1] &quot;2026-05-08 22:57:14 CEST&quot;</span></span>
697 <span id="cb2-25"><a href="#cb2-25" tabindex="-1"></a><span class="co">#&gt; </span></span>
698 <span id="cb2-26"><a href="#cb2-26" tabindex="-1"></a><span class="co">#&gt; $levelr</span></span>
699 <span id="cb2-27"><a href="#cb2-27" tabindex="-1"></a><span class="co">#&gt; Log level: INFO</span></span>
700 <span id="cb2-28"><a href="#cb2-28" tabindex="-1"></a><span class="co">#&gt; </span></span>
701 <span id="cb2-29"><a href="#cb2-29" tabindex="-1"></a><span class="co">#&gt; $level</span></span>
702 <span id="cb2-30"><a href="#cb2-30" tabindex="-1"></a><span class="co">#&gt; [1] &quot;INFO&quot;</span></span>
703 <span id="cb2-31"><a href="#cb2-31" tabindex="-1"></a><span class="co">#&gt; </span></span>
704 <span id="cb2-32"><a href="#cb2-32" tabindex="-1"></a><span class="co">#&gt; $pid</span></span>
705 <span id="cb2-33"><a href="#cb2-33" tabindex="-1"></a><span class="co">#&gt; [1] 581761</span></span>
706 <span id="cb2-34"><a href="#cb2-34" tabindex="-1"></a><span class="co">#&gt; </span></span>
707 <span id="cb2-35"><a href="#cb2-35" tabindex="-1"></a><span class="co">#&gt; $r_version</span></span>
708 <span id="cb2-36"><a href="#cb2-36" tabindex="-1"></a><span class="co">#&gt; [1] &quot;4.5.0&quot;</span></span>
709 <span id="cb2-37"><a href="#cb2-37" tabindex="-1"></a><span class="co">#&gt; </span></span>
710 <span id="cb2-38"><a href="#cb2-38" tabindex="-1"></a><span class="co">#&gt; $ns_pkg_version</span></span>
711 <span id="cb2-39"><a href="#cb2-39" tabindex="-1"></a><span class="co">#&gt; [1] NA</span></span>
712 <span id="cb2-40"><a href="#cb2-40" tabindex="-1"></a><span class="co">#&gt; </span></span>
713 <span id="cb2-41"><a href="#cb2-41" tabindex="-1"></a><span class="co">#&gt; $node</span></span>
714 <span id="cb2-42"><a href="#cb2-42" tabindex="-1"></a><span class="co">#&gt; [1] &quot;nevermind&quot;</span></span>
715 <span id="cb2-43"><a href="#cb2-43" tabindex="-1"></a><span class="co">#&gt; </span></span>
716 <span id="cb2-44"><a href="#cb2-44" tabindex="-1"></a><span class="co">#&gt; $arch</span></span>
717 <span id="cb2-45"><a href="#cb2-45" tabindex="-1"></a><span class="co">#&gt; [1] &quot;x86_64&quot;</span></span>
718 <span id="cb2-46"><a href="#cb2-46" tabindex="-1"></a><span class="co">#&gt; </span></span>
719 <span id="cb2-47"><a href="#cb2-47" tabindex="-1"></a><span class="co">#&gt; $os_name</span></span>
720 <span id="cb2-48"><a href="#cb2-48" tabindex="-1"></a><span class="co">#&gt; [1] &quot;Linux&quot;</span></span>
721 <span id="cb2-49"><a href="#cb2-49" tabindex="-1"></a><span class="co">#&gt; </span></span>
722 <span id="cb2-50"><a href="#cb2-50" tabindex="-1"></a><span class="co">#&gt; $os_release</span></span>
723 <span id="cb2-51"><a href="#cb2-51" tabindex="-1"></a><span class="co">#&gt; [1] &quot;6.12.85+deb13-amd64&quot;</span></span>
724 <span id="cb2-52"><a href="#cb2-52" tabindex="-1"></a><span class="co">#&gt; </span></span>
725 <span id="cb2-53"><a href="#cb2-53" tabindex="-1"></a><span class="co">#&gt; $os_version</span></span>
726 <span id="cb2-54"><a href="#cb2-54" tabindex="-1"></a><span class="co">#&gt; [1] &quot;#1 SMP PREEMPT_DYNAMIC Debian 6.12.85-1 (2026-04-30)&quot;</span></span>
727 <span id="cb2-55"><a href="#cb2-55" tabindex="-1"></a><span class="co">#&gt; </span></span>
728 <span id="cb2-56"><a href="#cb2-56" tabindex="-1"></a><span class="co">#&gt; $user</span></span>
729 <span id="cb2-57"><a href="#cb2-57" tabindex="-1"></a><span class="co">#&gt; [1] &quot;daroczig&quot;</span></span></code></pre></div></li>
730 <li><p>a <strong>logger definition</strong> to process the log request,
731 including</p>
732 <ul>
733 <li><p>log level <code>threshold</code>, eg <code>INFO</code>, which
734 defines the minimum log level required for actual logging – all log
735 requests with lower log level will be thrown away</p>
736 <div class="sourceCode" id="cb3"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb3-1"><a href="#cb3-1" tabindex="-1"></a><span class="fu">log_threshold</span>()</span>
737 <span id="cb3-2"><a href="#cb3-2" tabindex="-1"></a><span class="co">#&gt; Log level: INFO</span></span>
738 <span id="cb3-3"><a href="#cb3-3" tabindex="-1"></a>ERROR <span class="sc">&lt;=</span> INFO</span>
739 <span id="cb3-4"><a href="#cb3-4" tabindex="-1"></a><span class="co">#&gt; [1] TRUE</span></span>
740 <span id="cb3-5"><a href="#cb3-5" tabindex="-1"></a><span class="fu">log_error</span>(<span class="st">&quot;Oops&quot;</span>)</span>
741 <span id="cb3-6"><a href="#cb3-6" tabindex="-1"></a><span class="co">#&gt; ERROR [2026-05-08 22:57:14] Oops</span></span></code></pre></div></li>
742 <li><p><code>formatter</code> function, which takes R objects and
743 converts those into actual log message(s) to be then passed to the
744 <code>layout</code> function for the log record rendering – such as
745 <code>paste</code>, <code>sprintf</code>, <code>glue</code> or eg the
746 below custom example:</p>
747 <div class="sourceCode" id="cb4"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb4-1"><a href="#cb4-1" tabindex="-1"></a>formatter <span class="ot">&lt;-</span> <span class="cf">function</span>(...) <span class="fu">paste</span>(..., <span class="at">collapse =</span> <span class="st">&quot; &quot;</span>, <span class="at">sep =</span> <span class="st">&quot; &quot;</span>)</span>
748 <span id="cb4-2"><a href="#cb4-2" tabindex="-1"></a><span class="fu">formatter</span>(<span class="dv">1</span><span class="sc">:</span><span class="dv">3</span>, <span class="fu">c</span>(<span class="st">&quot;foo&quot;</span>, <span class="st">&quot;bar&quot;</span>))</span>
749 <span id="cb4-3"><a href="#cb4-3" tabindex="-1"></a><span class="co">#&gt; [1] &quot;1 foo 2 bar 3 foo&quot;</span></span></code></pre></div></li>
750 <li><p><code>layout</code> function, which takes log message(s) and
751 further information on the log request (such as timestamp, hostname,
752 username, calling function etc) to render the actual log records eg
753 human-readable text, JSON etc</p>
754 <div class="sourceCode" id="cb5"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb5-1"><a href="#cb5-1" tabindex="-1"></a><span class="fu">library</span>(jsonlite)</span>
755 <span id="cb5-2"><a href="#cb5-2" tabindex="-1"></a>layout <span class="ot">&lt;-</span> <span class="cf">function</span>(level, msg) <span class="fu">toJSON</span>(<span class="at">level =</span> level, <span class="at">timestamp =</span> time, <span class="at">hostname =</span> node, <span class="at">message =</span> msg)</span>
756 <span id="cb5-3"><a href="#cb5-3" tabindex="-1"></a><span class="fu">layout</span>(INFO, <span class="st">&#39;Happy Thursday!&#39;</span>)</span>
757 <span id="cb5-4"><a href="#cb5-4" tabindex="-1"></a><span class="co">#&gt; {&#39;level&#39;: &#39;INFO&#39;, &#39;timestamp&#39;: &#39;1970-01-01 00:00:00&#39;, &#39;hostname&#39;: &#39;foobar&#39;, &#39;message&#39;: &#39;Happy Thursday!&#39;}</span></span></code></pre></div></li>
758 <li><p><code>appender</code> function, which takes fully-rendered log
759 record(s) and delivers to somewhere, eg <code>stdout</code>, a file or a
760 streaming service, eg</p>
761 <div class="sourceCode" id="cb6"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb6-1"><a href="#cb6-1" tabindex="-1"></a>appender <span class="ot">&lt;-</span> <span class="cf">function</span>(line) <span class="fu">cat</span>(line, <span class="st">&quot;</span><span class="sc">\n</span><span class="st">&quot;</span>)</span>
762 <span id="cb6-2"><a href="#cb6-2" tabindex="-1"></a><span class="fu">appender</span>(<span class="st">&quot;INFO [now] I am a log message&quot;</span>)</span>
763 <span id="cb6-3"><a href="#cb6-3" tabindex="-1"></a><span class="co">#&gt; INFO [now] I am a log message</span></span></code></pre></div></li>
764 </ul></li>
765 </ul>
766 <p>Putting all these together (by explicitly setting the default config
767 in the <code>global</code> namespace):</p>
768 <div class="sourceCode" id="cb7"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb7-1"><a href="#cb7-1" tabindex="-1"></a><span class="fu">log_threshold</span>(INFO)</span>
769 <span id="cb7-2"><a href="#cb7-2" tabindex="-1"></a><span class="fu">log_formatter</span>(formatter_glue)</span>
770 <span id="cb7-3"><a href="#cb7-3" tabindex="-1"></a><span class="fu">log_layout</span>(layout_simple)</span>
771 <span id="cb7-4"><a href="#cb7-4" tabindex="-1"></a><span class="fu">log_appender</span>(appender_stdout)</span>
772 <span id="cb7-5"><a href="#cb7-5" tabindex="-1"></a><span class="fu">log_debug</span>(<span class="st">&quot;I am a low level log message that will not be printed with a high log level threshold&quot;</span>)</span>
773 <span id="cb7-6"><a href="#cb7-6" tabindex="-1"></a><span class="fu">log_warn</span>(<span class="st">&quot;I am a higher level log message that is very likely to be printed&quot;</span>)</span>
774 <span id="cb7-7"><a href="#cb7-7" tabindex="-1"></a><span class="co">#&gt; WARN [2026-05-08 22:57:14] I am a higher level log message that is very likely to be printed</span></span></code></pre></div>
775 <p>Note, that all <code>logger</code> definitions and requests are tied
776 to a logging namespace, and one log request might trigger multiple
777 <code>logger</code> definitions as well (stacking). Find more
778 information on these in the <a href="https://daroczig.github.io/logger/articles/customize_logger.html">Customizing
779 the format and destination of log records</a> vignette.</p>
780
781
782
783 <!-- code folding -->
784
785
786 <!-- dynamically load mathjax for compatibility with self-contained -->
787 <script>
788 (function () {
789 var script = document.createElement("script");
790 script.type = "text/javascript";
791 script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
792 document.getElementsByTagName("head")[0].appendChild(script);
793 })();
794 </script>
795
796 </body>
797 </html>