On Monday 26. March 2012 00:22:24 Marco Schulze wrote: > Working (but incomplete) code is available @ > https://github.com/Heiral/fred-staging/tree/logger++
Please keep in mind that simply deleting Logger will break pretty much every single plugin out there, so you really should rewrite Logger to call the new methods in your new logger class. I won't say much about the code since you say you aren't finished, but please follow the code style of the rest of the code base. Also, I'm pretty sure you don't want to close the new stream here[0]. And the locking when you update out isn't sufficient for visibility (either that or it isn't clear enough why it works IMHO). [0] https://github.com/Heiral/fred- staging/commit/b876f8c454cb269281ffcb18d14d25b22818d130#L0R49 _______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl