[loggers] Direct memory logger

Direct memory logger using flash memory.
But if I want it to be settable to either udp/uart or something else you need the macros if I'm correct?
That is one of the reasons why I used them here, but still needed to make it settable. Will do that next week when I try to fix all my open pull requests.