Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java ThrowableInformation GetthRowableSTREP()的作用是什么?_Java_Logging_Log4j - Fatal编程技术网

Java ThrowableInformation GetthRowableSTREP()的作用是什么?

Java ThrowableInformation GetthRowableSTREP()的作用是什么?,java,logging,log4j,Java,Logging,Log4j,不是。为什么它返回一个字符串数组?(如果它返回一个字符串,我就不会问了)实际上,它在您链接到的页面上说: ThrowableInformation是log4j对throwables的内部表示。 它基本上由一个名为“rep”的字符串数组组成,其中 第一个元素,即rep[0],表示 可丢弃性(即当你这样做时得到的价值 toString()和后续元素对应堆栈 跟踪堆栈的最顶端条目,对应于第二个 是rep[1]的“rep”数组的条目 很抱歉我错过了,我正在看方法文档。

不是。为什么它返回一个字符串数组?(如果它返回一个字符串,我就不会问了)

实际上,它在您链接到的页面上说:

ThrowableInformation是log4j对throwables的内部表示。 它基本上由一个名为“rep”的字符串数组组成,其中 第一个元素,即rep[0],表示 可丢弃性(即当你这样做时得到的价值 toString()和后续元素对应堆栈 跟踪堆栈的最顶端条目,对应于第二个 是rep[1]的“rep”数组的条目


很抱歉我错过了,我正在看方法文档。