console.logging API endpoint