ch.qos.logback.core.CoreConstants Java Examples

The following examples show how to use ch.qos.logback.core.CoreConstants. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NSThrowableConvert.java    From ns4_frame with Apache License 2.0 5 votes vote down vote up
private void recursiveAppend(StringBuilder sb, String prefix, int indent, IThrowableProxy tp) {
    if(tp == null)
        return;
    subjoinFirstLine(sb, prefix, indent, tp);
    sb.append(CoreConstants.LINE_SEPARATOR);
    subjoinSTEPArray(sb, indent, tp);
    IThrowableProxy[] suppressed = tp.getSuppressed();
    if(suppressed != null) {
        for(IThrowableProxy current : suppressed) {
            recursiveAppend(sb, CoreConstants.SUPPRESSED, indent + ThrowableProxyUtil.SUPPRESSED_EXCEPTION_INDENT, current);
        }
    }
    recursiveAppend(sb, CoreConstants.CAUSED_BY, indent, tp.getCause());
}
 
Example #2
Source File: NSThrowableConvert.java    From ns4_frame with Apache License 2.0 5 votes vote down vote up
@Override
public void subjoinSTEPArray(StringBuilder buf, int indent, IThrowableProxy tp) {
    String totalKey = LogKey.getTotalKey();
    StackTraceElementProxy[] stepArray = tp.getStackTraceElementProxyArray();
    int commonFrames = tp.getCommonFrames();

    boolean unrestrictedPrinting = Integer.MAX_VALUE > stepArray.length;


    int maxIndex = (unrestrictedPrinting) ? stepArray.length : Integer.MAX_VALUE;
    if (commonFrames > 0 && unrestrictedPrinting) {
        maxIndex -= commonFrames;
    }

    for (int i = 0; i < maxIndex; i++) {
        buf.append(totalKey);
        ThrowableProxyUtil.indent(buf, indent);
        buf.append(stepArray[i]);
        extraData(buf, stepArray[i]); // allow other data to be added
        buf.append(CoreConstants.LINE_SEPARATOR);
    }

    if (commonFrames > 0 && unrestrictedPrinting) {
        buf.append(totalKey);
        ThrowableProxyUtil.indent(buf, indent);
        buf.append("... ").append(tp.getCommonFrames()).append(
                " common frames omitted").append(CoreConstants.LINE_SEPARATOR);
    }
}
 
Example #3
Source File: AckUpdateCurrentProgress.java    From FimiX8-RE with MIT License 5 votes vote down vote up
public String toString() {
    StringBuffer updateCurrentProgressEntityStr = new StringBuffer();
    for (UpdateCurrentProgressEntity updateCurrentProgressEntity : this.updateCurrentProgressEntitys) {
        updateCurrentProgressEntityStr.append("updateCurrentProgressEntity:" + updateCurrentProgressEntity.toString());
    }
    return "AckUpdateCurrentProgress{deviceNumber=" + this.deviceNumber + ", updateCurrentProgressEntitys=" + updateCurrentProgressEntityStr.toString() + CoreConstants.CURLY_RIGHT;
}
 
Example #4
Source File: AckGetLowPowerOpt.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckGetLowPowerOpt{lowPowerValue=" + this.lowPowerValue + ", seriousLowPowerValue=" + this.seriousLowPowerValue + ", lowPowerOpt=" + this.lowPowerOpt + ", seriousLowPowerOpt=" + this.seriousLowPowerOpt + CoreConstants.CURLY_RIGHT;
}
 
Example #5
Source File: CameraCurParamsJson.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "CameraCurParamsJson{rval=" + this.rval + ", msg_id=" + this.msg_id + ", param=" + this.param + CoreConstants.CURLY_RIGHT;
}
 
Example #6
Source File: AckGetSensitivity.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckGetSensitivity{rollPercent=" + this.rollPercent + ", pitchPercent=" + this.pitchPercent + ", yawPercent=" + this.yawPercent + ", throPercent=" + this.throPercent + CoreConstants.CURLY_RIGHT;
}
 
Example #7
Source File: AutoGimbalState.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AutoGimbalState{errorCode=" + this.errorCode + ", stateCode=" + this.stateCode + ", rollAngle=" + this.rollAngle + ", pitchAngle=" + this.pitchAngle + ", yawAnagle=" + this.yawAnagle + CoreConstants.CURLY_RIGHT;
}
 
Example #8
Source File: AutoFcSportState.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AutoFcSportState{longitude=" + this.longitude + ", latitude=" + this.latitude + ", height=" + this.height + ", groupSpeed=" + this.groupSpeed + ", downVelocity=" + this.downVelocity + ", rollAngle=" + this.rollAngle + ", pitchAngle=" + this.pitchAngle + ", headingAngle=" + this.headingAngle + ", reserve1=" + this.reserve1 + ", reserve2=" + this.reserve2 + ", homeDistance=" + this.homeDistance + ", fLatLng=" + this.fLatLng + CoreConstants.CURLY_RIGHT;
}
 
Example #9
Source File: AutoCameraStateADV.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AutoCameraStateADV{state=" + this.state + ", mode=" + this.mode + ", info=" + this.info + ", recTime=" + this.recTime + ", recSecond=" + this.recSecond + ", recMinute=" + this.recMinute + ", recHour=" + this.recHour + ", freeSpace=" + this.freeSpace + ", totalSpace=" + this.totalSpace + CoreConstants.CURLY_RIGHT;
}
 
Example #10
Source File: CameraVersion.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "CameraVersion{mainVersion=" + this.mainVersion + ", stepVer=" + this.stepVer + CoreConstants.CURLY_RIGHT;
}
 
Example #11
Source File: CmdAiAutoPhoto.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "{angle=" + this.angle + ", routeLength=" + this.routeLength + ", speed=" + this.speed + ", config=" + this.config + ", mode=" + this.mode + CoreConstants.CURLY_RIGHT;
}
 
Example #12
Source File: AckGetOpticFlow.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckGetOpticFlow{isOpen=" + this.isOpen + CoreConstants.CURLY_RIGHT;
}
 
Example #13
Source File: AckCamJsonInfo.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckCamJsonInfo{rval=" + this.rval + ", msg_id=" + this.msg_id + ", type='" + this.type + CoreConstants.SINGLE_QUOTE_CHAR + ", param=" + this.param + CoreConstants.CURLY_RIGHT;
}
 
Example #14
Source File: AckSetFcParam.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckSetFcParam{paraset=" + this.paraset + CoreConstants.CURLY_RIGHT;
}
 
Example #15
Source File: GimbalState.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "GimbalState{errorCode=" + this.errorCode + ", stateCode=" + this.stateCode + ", rollAngle=" + this.rollAngle + ", pitchAngle=" + this.pitchAngle + ", yawAnagle=" + this.yawAnagle + CoreConstants.CURLY_RIGHT;
}
 
Example #16
Source File: CurParamsJson.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "CurParamsJson{video_quality='" + this.video_quality + CoreConstants.SINGLE_QUOTE_CHAR + ", video_resolution='" + this.video_resolution + CoreConstants.SINGLE_QUOTE_CHAR + ", photo_format='" + this.photo_format + CoreConstants.SINGLE_QUOTE_CHAR + ", photo_size='" + this.photo_size + CoreConstants.SINGLE_QUOTE_CHAR + ", ae_bias='" + this.ae_bias + CoreConstants.SINGLE_QUOTE_CHAR + ", iso='" + this.iso + CoreConstants.SINGLE_QUOTE_CHAR + ", shutter_time='" + this.shutter_time + CoreConstants.SINGLE_QUOTE_CHAR + ", awb='" + this.awb + CoreConstants.SINGLE_QUOTE_CHAR + ", metering_mode='" + this.metering_mode + CoreConstants.SINGLE_QUOTE_CHAR + ", digital_effect='" + this.digital_effect + CoreConstants.SINGLE_QUOTE_CHAR + ", saturation='" + this.saturation + CoreConstants.SINGLE_QUOTE_CHAR + ", contrast='" + this.contrast + CoreConstants.SINGLE_QUOTE_CHAR + ", sharpness='" + this.sharpness + CoreConstants.SINGLE_QUOTE_CHAR + ", system_type='" + this.system_type + CoreConstants.SINGLE_QUOTE_CHAR + ", default_setting='" + this.default_setting + CoreConstants.SINGLE_QUOTE_CHAR + CoreConstants.CURLY_RIGHT;
}
 
Example #17
Source File: AckGetPilotMode.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckGetFcParam{, pilotMode=" + this.pilotMode + CoreConstants.CURLY_RIGHT;
}
 
Example #18
Source File: AckTFCarddCap.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckTFCarddCap{tfCardCap='" + this.tfCardCap + CoreConstants.SINGLE_QUOTE_CHAR + CoreConstants.CURLY_RIGHT;
}
 
Example #19
Source File: AutoFcBattery.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AutoFcBattery{cell1Voltage=" + this.cell1Voltage + ", cell2Voltage=" + this.cell2Voltage + ", cell3Voltage=" + this.cell3Voltage + ", cell4Voltage=" + this.cell4Voltage + ", currentCapacity=" + this.currentCapacity + ", totalCapacity=" + this.totalCapacity + ", currents=" + this.currents + ", temperature=" + this.temperature + ", remainingTime=" + this.remainingTime + ", remainPercentage=" + this.remainPercentage + ", uvc=" + this.uvc + ", rcNotUpdateCnt=" + this.rcNotUpdateCnt + ", cc=" + this.cc + CoreConstants.CURLY_RIGHT;
}
 
Example #20
Source File: AutoVcTracking.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AutoVcTracking{time=" + this.time + ", x=" + this.x + ", y=" + this.y + ", h=" + this.h + ", w=" + this.w + ", confidence=" + this.confidence + ", trackErrorCode=" + this.trackErrorCode + CoreConstants.CURLY_RIGHT;
}
 
Example #21
Source File: AckGetHorizontalAdjust.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckGetHorizontalAdjust{angle=" + this.angle + CoreConstants.CURLY_RIGHT;
}
 
Example #22
Source File: AutoAiSurroundState.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "{radius=" + this.radius + ", speed=" + this.speed + ", altitude=" + this.altitude + ", yawMode=" + this.yawMode + ", states=" + this.states + CoreConstants.CURLY_RIGHT;
}
 
Example #23
Source File: AckUpdateSystemStatus.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckUpdateSystemStatus{status=" + this.status + CoreConstants.CURLY_RIGHT;
}
 
Example #24
Source File: MediaFileInfo.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "MediaFileInfo{cmdType=" + this.cmdType + ", msg_len=" + this.msg_len + ", error_code=" + this.error_code + ", fileSize=" + this.fileSize + ", nameLen=" + this.nameLen + ", fileName='" + this.fileName + CoreConstants.SINGLE_QUOTE_CHAR + CoreConstants.CURLY_RIGHT;
}
 
Example #25
Source File: AckPanoramaPhotographType.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckPanoramaPhotographType{mode=" + this.mode + ", currentNum=" + this.currentNum + ", totalNum=" + this.totalNum + CoreConstants.CURLY_RIGHT;
}
 
Example #26
Source File: AutoRelayHeart.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AutoRelayHeart{status=" + this.status + CoreConstants.CURLY_RIGHT;
}
 
Example #27
Source File: AckUpdateRequest.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckUpdateRequest{getMsgRpt():" + getMsgRpt() + CoreConstants.CURLY_RIGHT;
}
 
Example #28
Source File: AutoFcHeart.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AutoFcHeart{flightTime=" + this.flightTime + ", startUpTime=" + this.startUpTime + ", ctrlType=" + this.ctrlType + ", candidateCtrlType=" + this.candidateCtrlType + ", flightPhase=" + this.flightPhase + ", ctrlModel=" + this.ctrlModel + ", systenPhase=" + this.systenPhase + ", disarmCount=" + this.disarmCount + ", powerConRate=" + this.powerConRate + ", takeOffCap=" + this.takeOffCap + ", autoTakeOffCap=" + this.autoTakeOffCap + CoreConstants.CURLY_RIGHT;
}
 
Example #29
Source File: AckCheckIMUException.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckCheckIMUException{sensorMaintainSta=" + this.sensorMaintainSta + ", sensorType=" + this.sensorType + ", errCode=" + this.errCode + CoreConstants.CURLY_RIGHT;
}
 
Example #30
Source File: AckGetGimbalGain.java    From FimiX8-RE with MIT License 4 votes vote down vote up
public String toString() {
    return "AckGetGimbalGain{data=" + this.data + CoreConstants.CURLY_RIGHT;
}