in reply to Re^4: To create a custom log
in thread To create a custom log

it's save, if you know what are you doing :-) (and few background, like buffering).
And if you are not sure, you can use locks.