Commits

Thomas Tornevall authored 0a73f6b8f42
WOO-790, WOO-791 * Renamed logging methods. * Considering removal of the "globals". * Logwriters are now using Ecom2 and the severity enums. * Renamed canWrite to writeLogEvent. * Enforcing loggers to enable on a properly configure path (not necessarily in the public writable space). * When something goes wrong with the filelogger, we will fall back to nonelogger and... * ... when logger fails to write via ecom2, it will log critical notices via WC_Log and notify users if in admin. * Critical severity removed due to missing severity in ecom2. * Moved log_dir from "advanced merchant" to main tab to visually show that the variable is required to enable logging. * Disabled order_instant_finalization_methods due to issues with loading on adminpage (methods). Since most of the internals is using ecom1. * Disabled annuity section due to ecom1 problems. * getAddressField-controller should not be loading in admin (but it is currently residing in globals-script, which may be wrong from an admin point of view).