Log class

A MediaWiki bot software traditionally should be able to write a log about what it has done (and this log can be VERY useful). In Apibot this is done through a specific object - the Log object, contained in the Core object.

The standard implementation writes into a logfile, whose name is specified in the bot settings. If none given, will try to write in a file in the same directory and with the same name as the starting PHP script, but with a ".log" extension instead of a ".php".