Sections

Class Phalcon\Logger\Factory

extends abstract class Phalcon\Factory

implements Phalcon\FactoryInterface

GitHub上のソース

Loads Logger Adapter class using ‘adapter’ option

<?php

use Phalcon\Logger\Factory;

$options = [
    "name"    => "log.txt",
    "adapter" => "file",
];
$logger = Factory::load($options);

メソッド

public static load (Phalcon\Config array $config)

protected static loadClass (mixed $namespace, mixed $config)