Skip to content

Commit 0fa6d75

Browse files
committed
docs: added log viewer
1 parent 714aeb4 commit 0fa6d75

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docs/components/types/logViewer.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
type:
3+
name: LogViewer
4+
updates: 1
5+
pushes: 1
6+
description: Used to display log messages.
7+
---
8+
# Log Viewer
9+
Used by the console page.
10+
11+
## Updates
12+
`maxLines` _number_ (**25**)
13+
: The number of lines it should aim to display when viewed in a browser (used to limit height).
14+
15+
## Pushes
16+
`log` _LogTable_
17+
: Used to send a log message for the viewer to add to itself.
18+
19+
## Examples
20+
```lua
21+
{
22+
maxLines = 30,
23+
}
24+
```

0 commit comments

Comments
 (0)