aoplogging lib & example;