title: UnexpectedValueException when create a log file in SLIM monolog
body: <p>I am on MAC and another computer with WINDOWS call to my API endpoints and I got the following error . (happen also when there are no logs) </p>
  
  <pre><code>fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/../logs/2018-01-15.log" could not be opened: failed to open stream: Permission denied' in .../vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107
  </code></pre>
  
  <p>1 How can I make sure the log will create a folder itself with full permission or change permission to existing one 
  2 how do I catch UnexpectedValueException in SLIM ?
  3. created a folder manually with full permission will solve the problem?
  4. will windows-to windows  work properly ? maybe is it mac os permission issue ?</p>