server side javascript micro component for logging