model_log is created and/or written with action (function completed with list of its parameters), its id, id of a parent action, time of execution and version of pankuslogged_function function is written as a wrapper to make documenting functions user friendlylogged_function stores executed functions and their parameters