Replace 'at()' method of log with operator[].

'at()' is Java-way, operator[] is C++-way.