Sign in

陈晓峰 / drupal8 · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • drupal8
  • modules
  • drupalmoduleupgrader
  • templates
  • Logger.html.twig
  • update
    f202974f
    陈晓峰 authored
    2015-12-09 00:17:54 +0800  
    Browse Files »
Logger.html.twig 418 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/**
 * @file
 * Contains \Drupal\{{ module }}\Logger\DefaultLogger.
 */

namespace Drupal\{{ module }}\Logger;

use Psr\Log\LoggerInterface;
use Psr\Log\LoggerTrait;

class DefaultLogger implements LoggerInterface {

  use LoggerTrait;

  /**
   * {@inheritdoc}
   */
  public function log($level, $message, array $context = array()) {
    /**
     * @FIXME
     * Port your hook_watchdog() logic here.
     */
  }

}