expression accepts logs as one of the terms