toValue method
Implementation
String toValue() {
switch (this) {
case LogType.indexSlowLogs:
return 'INDEX_SLOW_LOGS';
case LogType.searchSlowLogs:
return 'SEARCH_SLOW_LOGS';
case LogType.esApplicationLogs:
return 'ES_APPLICATION_LOGS';
case LogType.auditLogs:
return 'AUDIT_LOGS';
}
}