1
0
Fork 0
freesewing/sites/dev/docs/reference/api/store/logs/readme.mdx
Joost De Cock ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00

27 lines
486 B
Text

---
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.