log without libc