[util] Refactor inspect()
[util] Implement format() method
[console] Implement log() method