An application I\'m working on requires logging of actions, user who performs the action, and time of action to a database.
Which design pattern is most popular/appropri
Don't conflate the Command and the logging Memento.
The Command is something that gets done. Which may include some common aspects across all commands, including writing a log entry.
The log entry itself may be a Memento or a summary of a Memento.
The logger is a kind of Factory, which creates Mementos for logged events.
As with most things, you have a large number of interlocking design patterns. Which "one" pattern is "most popular/appropriate" doesn't enter into it.
The question is "what is supposed to be happening?"