summaryContext.usage
Property Description |
Total number of usage units consumed when running the map/reduce script. |
Type |
number |
Since |
2015.2 |
Syntax
The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see Map/Reduce Script Samples.
...
log.audit(type + ' Usage Consumed', summary.usage);
...