[mod] logging

This commit is contained in:
Andy Bunce 2025-10-19 23:16:37 +01:00
parent 41d9e081b5
commit 55fef63678
6 changed files with 54 additions and 42 deletions

View file

@ -67,7 +67,7 @@ function app:socket($wsid) {
"connectTime": ws:get($wsid,"connectTime"),
"files": map:keys($files),
"file1": json:serialize($file, { 'format': 'w3', 'indent': 'no' }),
"doc": json:serialize($doc, { 'format': 'w3', 'indent': 'no' })
"doc": $doc
})
};

View file

@ -0,0 +1 @@
// todo

View file

@ -16,8 +16,13 @@
</li>
</ul>
<hr />
<div th:text="${file1}">doc</div>
<div th:text="${doc}">doc</div>
<div th:text="${file1}">doc</div>
<div th:text="${doc.uri}">doc</div>
<div th:text="${doc.languageId}">doc</div>
<div th:text="${doc.version}">doc</div>
<hr />
<pre th:text="${doc.text}" style="height:16em;overflow:scroll;">doc</pre>
</div>
</body>