Functions

On native: uses env_log