add the log implementation

add a log struct used to display the state of the file transfert in the
stdout device