feat(markdown): Docs for new/updated core methods
This commit is contained in:
parent
a2800dddda
commit
57d50c42da
8 changed files with 256 additions and 20 deletions
24
markdown/dev/reference/api/pattern/getlogs/en.md
Normal file
24
markdown/dev/reference/api/pattern/getlogs/en.md
Normal 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 |
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue