| | |
| | | public TraceSettings(DebugTargetCfg config) |
| | | { |
| | | this.level = |
| | | DebugLogLevel.parse(config.getDebugLevel().name()); |
| | | DebugLogLevel.parse(config.getDebugLevel().toString()); |
| | | |
| | | Set<LogCategory> logCategories = null; |
| | | if(!config.getDebugCategory().isEmpty()) |
| | |
| | | for(DebugTargetCfgDefn.DebugCategory category : |
| | | config.getDebugCategory()) |
| | | { |
| | | logCategories.add(DebugLogCategory.parse(category.name())); |
| | | logCategories.add(DebugLogCategory.parse(category.toString())); |
| | | } |
| | | } |
| | | |
| | |
| | | // naming attribute. Changing it would result in a modify DN. |
| | | |
| | | this.level = |
| | | DebugLogLevel.parse(config.getDebugLevel().name()); |
| | | DebugLogLevel.parse(config.getDebugLevel().toString()); |
| | | |
| | | Set<LogCategory> logCategories = null; |
| | | if(!config.getDebugCategory().isEmpty()) |
| | |
| | | for(DebugTargetCfgDefn.DebugCategory category : |
| | | config.getDebugCategory()) |
| | | { |
| | | logCategories.add(DebugLogCategory.parse(category.name())); |
| | | logCategories.add(DebugLogCategory.parse(category.toString())); |
| | | } |
| | | } |
| | | |