跳到主要内容

Store.logs

A Store is initialized with a logs property that holds logging data.

注意

If errors are logged, open clothes will not try to layout the pattern.

Signature

logs: {
debug: [],
info: [],
警告: [],
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 to log.