use logger.info to display command line result

This commit is contained in:
wing328 2016-01-28 11:25:11 +08:00
parent 16f9c8f7dd
commit f8b82e14fe
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ public class ConfigParser {
public static Config read(String location) {
LOGGER.debug("reading config from " + location);
LOGGER.info("reading config from " + location);
ObjectMapper mapper = new ObjectMapper();

View File

@ -21,7 +21,7 @@ public abstract class AbstractGenerator {
@SuppressWarnings("static-method")
public File writeToFile(String filename, String contents) throws IOException {
LOGGER.debug("writing file " + filename);
LOGGER.info("writing file " + filename);
File output = new File(filename);
if (output.getParent() != null && !new File(output.getParent()).exists()) {

View File

@ -153,7 +153,7 @@ class ObjectSerializer
*/
public function toFormValue($value)
{
if ($value instanceof SplFileObject) {
if ($value instanceof \SplFileObject) {
return $value->getRealPath();
} else {
return $this->toString($value);