-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.html
More file actions
18 lines (18 loc) · 720 Bytes
/
sample.html
File metadata and controls
18 lines (18 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
<html>
<head>
<!-- begin-snippet: StructuredLogInclude -->
<script src='https://cdn.jsdelivr.net/npm/structured-log/dist/structured-log.js'>
</script>
<script src='https://cdn.jsdelivr.net/npm/structured-log-seq-sink/dist/structured-log-seq-sink.js'>
</script>
<!-- end-snippet -->
<script src='/sample.js'></script>
</head>
<body>
Message: <input type=text id=textInput value='Some text' /><br />
<button onclick=LogInputRawJs()>Log with raw JS</button><br />
<button onclick=LogInputStructured()>Log with structured-log</button><br />
<button onclick=LogInputStructuredWithExtraProps()>Log with structured-log and extra properties</button>
</body>
</html>