Add support to API logger definition