logger for npm