1
0
Fork 0
freesewing/sites/dev/docs/reference/api/store/logs/readme.mdx

28 lines
486 B
Text
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.
:::
## 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.