1
0
Fork 0
freesewing/markdown/dev/reference/api/store/logs/en.md

28 lines
489 B
Markdown
Raw Normal View History

---
title: Store.logs
---
A **Store** is initialized with a `logs` property that holds logging data.
<Note>
If errors are logged, FreeSewing will not try to layout the pattern.
</Note>
## Signature
```js
logs: {
debug: [],
info: [],
warning: [],
errors: []
}
```
## Notes
Users can override the default logging, so don't assume this is where logs end up.
That's why, you should always use the [Store.log methods](/reference/store-methods#store-methods-we-maintain) to log.