* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.onap.aai.logging;
import ch.qos.logback.classic.pattern.NamedConverter;
StackTraceElement[] cda = event.getCallerData();
- //If using the EELFLogger, it "hides" the calling class because it wraps the logging calls
- //Without this, you'd only ever see "EELF SLF4jWrapper" when using the
- // %C pattern converter
+ // If using the EELFLogger, it "hides" the calling class because it wraps the logging calls
+ // Without this, you'd only ever see "EELF SLF4jWrapper" when using the
+ // %C pattern converter
if (cda != null && cda.length > 2) {
return cda[2].getClassName();
} else if (cda != null && cda.length > 0) {
- return cda[0].getClassName();
+ return cda[0].getClassName();
} else {
return CallerData.NA;
}