add isAvailable method
add SimpleLogger example