1
0
Fork 0

feat(markdown): Docs for new/updated core methods

This commit is contained in:
joostdecock 2023-06-01 16:48:11 +02:00
parent a2800dddda
commit 57d50c42da
8 changed files with 256 additions and 20 deletions

View file

@ -0,0 +1,24 @@
---
title: Pattern.getLogs()
---
The `Pattern.getLogs()` method will return an object holding
the logs generated by the pattern.
It should only be called after calling `Pattern.draft()`.
## Pattern.getLogs() signature
```js
Object pattern.getLogs()
```
## Returned object properties
The `Pattern.getLogs()` method returns an object with
the following properties:
| Property | Description |
| --------:| ----------- |
| `pattern` | The logs of the pattern itself |
| `sets` | The logs per (set of) settings used to draft the pattern |