nLogger library and examples