toValue method
Implementation
String toValue() {
switch (this) {
case LogDriver.jsonFile:
return 'json-file';
case LogDriver.syslog:
return 'syslog';
case LogDriver.journald:
return 'journald';
case LogDriver.gelf:
return 'gelf';
case LogDriver.fluentd:
return 'fluentd';
case LogDriver.awslogs:
return 'awslogs';
case LogDriver.splunk:
return 'splunk';
}
}