in Log.assignSeverityToEntries_, this line
var entriesClone = [].slice.call(entries);
will result in an empty array if "entries" is a single entry, while all the logging functions like Log.info, Log.warning etc depends on its ability to process single entry objects. only Log.write can successfully write single entry objects at this time.
in Log.assignSeverityToEntries_, this line
var entriesClone = [].slice.call(entries);will result in an empty array if "entries" is a single entry, while all the logging functions like Log.info, Log.warning etc depends on its ability to process single entry objects. only Log.write can successfully write single entry objects at this time.