added Log to redirect traces to specific feature rich Loggers
refactored to work for javascript/non flash targets