Don't log inherited attributes. Do log constructor name for class instances. Use _PRINT methods if available except when using console.dir.