Added logging (see include/polyswf/foundation/logging.h).