|
|
@ -33,8 +33,10 @@ public class Log {
|
|
|
|
public Log(Node logNode) throws SclParserException {
|
|
|
|
public Log(Node logNode) throws SclParserException {
|
|
|
|
name = ParserUtils.parseAttribute(logNode, "name");
|
|
|
|
name = ParserUtils.parseAttribute(logNode, "name");
|
|
|
|
|
|
|
|
|
|
|
|
if (name == null)
|
|
|
|
if (name == null) {
|
|
|
|
throw new SclParserException(logNode, "Log is missing required attribute name!");
|
|
|
|
/* Use default log name */
|
|
|
|
|
|
|
|
name = "GeneralLog";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getName() {
|
|
|
|
public String getName() {
|
|
|
|