mirror of
https://gitee.com/log4j/pig.git
synced 2025-01-03 23:42:22 +08:00
✨ Introducing new features. support spel 'expression'
This commit is contained in:
parent
515511418c
commit
1f61406cb4
@ -56,7 +56,7 @@ public class SysLogAspect {
|
||||
try {
|
||||
value = SysLogUtils.getValue(context, expression, String.class);
|
||||
} catch (Exception e) {
|
||||
// SPEL 表达式异常,则获取 value 的值
|
||||
// SPEL 表达式异常,获取 value 的值
|
||||
log.error("@SysLog 解析SPEL {} 异常", expression);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user