-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 37cf2ee 🚀
- Loading branch information
Showing
8 changed files
with
23,075 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
dev/john/update-logging-example/use-logging-apis/html/provider.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>How to collect debug logs</title> | ||
<meta name="description" content="" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="stylesheet" href="../common/style/app.css" /> | ||
<script src="../js/provider.bundle.js"></script> | ||
</head> | ||
|
||
<body class="col fill gap20"> | ||
<header class="row spread middle"> | ||
<div class="col"> | ||
<h1>How to collect logs.</h1> | ||
<h1 class="tag">Demonstrate how to use logging related APIs</h1> | ||
</div> | ||
<div class="row middle gap10"> | ||
<image src="../common/images/icon-blue.png" alt="OpenFin" height="40px"></image> | ||
</div> | ||
</header> | ||
<main class="row fill gap20"> | ||
<div class="row fill gap40"> | ||
<div class="fill col gap20"> | ||
<form | ||
action="/upload" | ||
id="upload-form" | ||
method="post" | ||
enctype="multipart/form-data" | ||
class="col gap40 scroll-vertical" | ||
> | ||
<div class="formSection col gap10"> | ||
<h4>Select a debug log.</h4> | ||
<fieldset> | ||
<select id="log-list"></select> | ||
</fieldset> | ||
<button type="submit">Upload Debug Log</button> | ||
</div> | ||
</form> | ||
<h4>Upload your applications log (console messages).</h4> | ||
<button id="send-app-log">Send Application Logs</button> | ||
<h4>Upload your OPFS log (Channel API Messages).</h4> | ||
<button id="send-opfs-log">Send OPFS Logs</button> | ||
<h4>Console Log A Message</h4> | ||
<button id="console-app-log">Console Log Message</button> | ||
<h4>Channel API Log A Message</h4> | ||
<button id="channel-app-log">Channel API Log Message</button> | ||
</div> | ||
</div> | ||
<div class="col fill_2 gap20"> | ||
<h2>Preview</h2> | ||
<pre id="preview" class="fill scroll-horizontal"></pre> | ||
<button id="clear-preview">Clear Preview</button> | ||
</div> | ||
</main> | ||
<footer> | ||
<div class="row spread"> | ||
<div class="row gap10"> | ||
<a href="https://developers.openfin.co/of-docs/docs/log-management" target="_blank"> | ||
App Log Content | ||
</a> | ||
<a href="https://developers.openfin.co/of-docs/docs/logs" target="_blank">OpenFin (Debug) Logs</a> | ||
<a | ||
href="https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system" | ||
target="_blank" | ||
> | ||
OPFS (Origin Private File System) Logs | ||
</a> | ||
</div> | ||
</div> | ||
</footer> | ||
</body> | ||
</html> |
133 changes: 55 additions & 78 deletions
133
dev/john/update-logging-example/use-logging-apis/js/app.bundle.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.