Version Independent Logging

Added a helper log class, to log diffrently between v4 and v6