Add container Deque and fix empty function call.
Use Deque instead of std::deque in Log.