Log
[ class tree: Log ] [ index: Log ] [ all elements ]

Source for file composite.php

Documentation is available at composite.php

  1. <?php
  2.  
  3. require_once 'Log.php';
  4.  
  5. $console &Log::singleton('console''''TEST');
  6. $file &Log::singleton('file''out.log''TEST');
  7.  
  8. $composite &Log::singleton('composite');
  9. $composite->addChild($console);
  10. $composite->addChild($file);
  11.  
  12. $composite->log('This event will be logged to both handlers.');

Documentation generated on Mon, 11 Mar 2019 16:02:23 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.