Use of has.js API for monitoring logs