simple&naive logging interface