Recursive handler for multiple levels of interpolation. This is the main interpolation method, which resolves the values of all variable references contained in the passed in text.简单理解说就是好比说,buf中包罗了嵌套的变量时,会递归拆分这些变量。然后调用resolveVariable来分析变量。
用于多级插值的递归处理程序。这是重要的插值方法,它分析传入文本中包罗的所有变量引用的值。
Params:
event – The current LogEvent, if there is one. buf – the string builder to substitute into, not null offset – the start offset within the builder, must be valid length – the length within the builder to be processed, must be valid priorVariables – the stack keeping track of the replaced variables, may be null
参数:event–当前LogEvent(假如有的话)。buf–要替换的字符串天生器,而不是空偏移量–天生器中的起始偏移量必须是有效长度–要处理的天生器中的长度必须是有效的priorVariables–跟踪被替换变量的堆栈,可以是空的
Returns:
the length change that occurs, unless priorVariables is null when the int represents a boolean flag as to whether any change occurred.
返回:发生的长度变化,除非当int表示是否发生任何变化的布尔标志时priorVariables为null。
ldap://127.0.0.1:1389/Basic/Command/Base64/Y21kIC9jIGNhbGM=
欢迎光临 IT评测·应用市场-qidao123.com技术社区 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |