-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
75 additions
and
22 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
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
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,24 @@ | ||
# oui-log | ||
|
||
Use `zeed` logging infrastructure to show certain logs in the frontend. Great for development and debugging. | ||
|
||
- `log`: `useLog` object | ||
- `show-time`: show time column | ||
- `show-tag`: show tag column | ||
|
||
## Basic usage | ||
|
||
In the Vue component setup use logging like this | ||
|
||
```ts | ||
const log = useLog('test') | ||
log('This is the first entry') | ||
``` | ||
|
||
Then register this log object with OuiLog | ||
|
||
```vue | ||
<OuiLog :log="log" /> | ||
``` | ||
|
||
OuiTableview is used for display, so notes there apply here as well. |
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
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