24 lines
542 B
Markdown
24 lines
542 B
Markdown
---
|
|
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 |
|
|
|