小编Fra*_*ank的帖子

Spring Boot关闭包的日志记录

我更喜欢为业务逻辑抛出自己的异常.例如,我有一个类com.mine.exception.DuplicateClientException.是否有一些配置我可以关闭打包com.mine.exception包的堆栈跟踪?

就像是:

logging.level.com.mine.exception=OFF
Run Code Online (Sandbox Code Playgroud)

logging properties spring-boot

8
推荐指数
1
解决办法
1469
查看次数

HTML 5 需要任一输入字段

假设我有两个输入字段

<input id='intput1' type='text' />
<input id='intput2' type='text' />
Run Code Online (Sandbox Code Playgroud)

我可以使用 html 5 属性 required 来指定需要 input1 或 input2

html required

5
推荐指数
1
解决办法
1628
查看次数

标签 统计

html ×1

logging ×1

properties ×1

required ×1

spring-boot ×1