def METHOD_NAME(EnableCustomLogConfiguration, CustomLogObjects):
    if EnableCustomLogConfiguration:
        CurrentCustomLogObjects = ReadConf()
        if CurrentCustomLogObjects is None and CustomLogObjects is None:
            return [0]
        elif CurrentCustomLogObjects is None or CustomLogObjects is None:
            return [-1]
        CustomLogObjects.sort()
        for customlog in CustomLogObjects:
            customlog['FilePath'].sort()
        CurrentCustomLogObjects.sort()
        for customlog in CurrentCustomLogObjects:
            customlog['FilePath'].sort()
        if CustomLogObjects != CurrentCustomLogObjects:
            return [-1]
    return [0]