**基础用法**

<n-message-provider>
<div style="color:red;display:flex;align-items:center;line-height:1">
    <span>操作失败</span>
    <xnsk-log-icon message="失败原因" />
</div>
</n-message-provider>

<script setup>
    import {XnskLogIcon} from "../../src/components"
    import {NMessageProvider} from "naive-ui"
</script>
<style lang="scss" >
@import '../../src/css/main.css';
</style>

```vue
<div style="color:red;display:flex;align-items:center;">
    <span>操作失败</span>
    <xnsk-log-icon message="失败原因" />
</div>
```

在任务成功或失败时，页面默认只显示成功或失败的结果，后面带一个 icon，点击查看详情，比 dialogMsg 更方便

**参数**
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
| --- | --- | --- | --- | --- |
| message | 显示的文本 | String | - | - |
| autoClose | 复制后是否自动关闭 | Boolean | - | true |