Code Duplication    Length = 3-3 lines in 2 locations

WebStream/Log/Outputter/FileOutputter.php 2 locations

@@ 86-88 (lines=3) @@
83
     */
84
    public function enableDirectWrite()
85
    {
86
        if ($this->isLazyWrite && $this->cache->length() > 0) {
87
            $this->writeLog(implode("", $this->cache->get()));
88
        }
89
90
        $this->isLazyWrite = false;
91
        $this->cache = null;
@@ 115-117 (lines=3) @@
112
     */
113
    private function flush()
114
    {
115
        if ($this->isLazyWrite && $this->cache->length() > 0) {
116
            $this->writeLog(implode("", $this->cache->get()));
117
        }
118
    }
119
120
    /**