ذخیره کردن لاگها در فایل
This is the simplest logger. You can use it as a base to create
more complex loggers. The logger interface is really simple and use
some helper functions from the main
The only required static method of a log writer is
write, which takes the stack to write as parameter.
The only configuration variable of the file writer is the path to
the log file 'pluf_log_file'. By default it creates a
pluf.log in the configured tmp folder.