Simple logger implementation