1 | <?php |
||
32 | class LoggerFactory |
||
33 | { |
||
34 | /** |
||
35 | * Create the logger service. |
||
36 | * |
||
37 | * @param Kernel $kernel The kernel to retrieve the log dir from. |
||
38 | * |
||
39 | * @param string $filename The filename. |
||
40 | * |
||
41 | * @param int $maxFiles The maximal amount of files to keep (0 means unlimited). |
||
42 | * |
||
43 | * @param int $level The minimum logging level at which this handler will be triggered. |
||
44 | * |
||
45 | * @param bool $bubble Whether the messages that are handled can bubble up the stack or not. |
||
46 | * |
||
47 | * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write). |
||
48 | * |
||
49 | * @param bool $useLocking Try to lock log file before doing any writes. |
||
50 | * |
||
51 | * @return RotatingFileHandler |
||
52 | */ |
||
53 | public static function create( |
||
71 | } |
||
72 |