How is the Logger Formatter supposed to work with the optional $context array? I take it to mean you can set the format to include 'new' formatters, and you use the $context array to pass the value of the formatter.
Something like the below:
$formatter = $logger->getFormatter();
$formatter->setFormat(("[%date%][%type%] %message% - %my_token%");
$logger->info("this is a test", array("my_token" => "some value"));
But this doesn't seem to work. Any suggestions?