Writes a $line to the log with a severity level of NOTICE. Generally
corresponds to E_STRICT, E_NOTICE, or E_USER_NOTICE errors

@param string $line Information to log
@param array|string $args
@return void
542715
public function logNotice($line, $args = self::NO_ARGUMENTS)
	{
        $this->log($line, self::NOTICE, $args);
    }
984424
public function critical(
        $msg,
        array $args = array(),
        \Exception $exception = null
    ) {
        return $this->log(\Plop\CRITICAL, $msg, $args, $exception);
    }
1193096
public function call($args = [])
    {
        $command = $this->listener->get('setname');
        if (!$command)
            throw new NoticeException('SetupCommand: "setname" command is not registered in ayuco.');
            
        try {
            $this->_lineBreak();
            $this->_print('------------------------------');
            $this->_lineBreak();
            $this->_print('Wordpress MVC (AYUCO) Setup');
            $this->_lineBreak();
            // NAMESPACE || PROJECT NAME
            $this->_print('------------------------------');
            $this->_lineBreak();
            $this->_print('Enter your project\'s namespace (example: MyProject):');
            $this->_lineBreak();
            $namespace = $this->listener->getInput();
            $command->setName(empty($namespace)
                ? 'MyApp'
                : str_replace(' ', '', ucwords($namespace))
            );
            // TYPE
            $this->_print('------------------------------');
            $this->_lineBreak();
            $this->_print('Enter your project\'s type (options: "theme" or "plugin"):');
            $this->_lineBreak();
            $type = $this->listener->getInput();
            $this->setType($type);
            // DESCRIPTION
            $this->_print('------------------------------');
            $this->_lineBreak();
            $this->getDescription();
            $this->_lineBreak();
            // End
            $this->_print('------------------------------');
            $this->_lineBreak();
            $this->_print('Your plugin namespace is "%s"', $namespace);
            $this->_lineBreak();
            $this->_print('Setup completed!');
            $this->_lineBreak();
            $this->_print('------------------------------');
            $this->_lineBreak();
        } catch (NoticeException $e) {
            throw new NoticeException('Command "setup": Failed! ' . $e->getMessage());
        }
    }
1295286
protected function error($line, $eol = PHP_EOL)
    {
        $this->m->shell->error($line, $eol);
    }
589854
public function debug(int $line, string $src)
    {
        $this->line = $line;
        $this->src = $src;
    }
440479
public function error($message, $args=array())
    {
        $backtrace        = debug_backtrace();
        $args['FILENAME'] = $backtrace[0]['file'];
        $args['LINENO']   = $backtrace[0]['line'];
        $this->log($message, $args, 'LOG_ERR');

    }
561247
public static function out($line, ...$args) {
        if (count($args) > 0) {
            $line = call_user_func_array(
                'sprintf',
                array_merge([$line], $args)
            );
        }

        fwrite(STDOUT, $line . PHP_EOL);
    }
1163658
public function log(
        $level,
        $msg,
        array $args = array(),
        \Exception $exception = null
    ) {
        if ($this->isEnabledFor($level)) {
            $caller = \Plop\Plop::findCaller();
            $record = $this->recordFactory->createRecord(
                $this->ns,
                $this->cls,
                $this->method,
                $caller['ns'],
                $caller['cls'],
                $caller['func'],
                $level,
                $caller['file'] ? $caller['file'] : '???',
                $caller['line'],
                $msg,
                $args,
                $exception
            );
            $this->handle($record);
        }
        return $this;
    }
58281
public function writeCommand($command, $args = [])
    {
        if (OutputInterface::VERBOSITY_VERBOSE > $this->getOutput()->getVerbosity()) {
            return;
        }

        if (count($args)) {
            $outArr = [];
            foreach ($args as $arg) {
                if (is_array($arg)) {
                    $arg = array_map(
                        function ($value) {
                            return '\'' . $value . '\'';
                        },
                        $arg
                    );
                    $outArr[] = '[' . implode(', ', $arg) . ']';
                    continue;
                }

                $outArr[] = '\'' . $arg . '\'';
            }
            $this->getOutput()->writeln(' -- ' . $command . '(' . implode(', ', $outArr) . ')');

            return;
        }

        $this->getOutput()->writeln(' -- ' . $command);
    }
823515
protected function connectionErrorHandler($code, $message, $file, $line, $args)
    {
        $this->connectionErrors[] = [
            'code' => $code,
            'message' => $message,
            'file' => $file,
            'line' => $line,
            'args' => $args
        ];
    }
869427
protected function write($line)
    {
        for ($written = 0, $len = strlen($line); $written < $len; $written += $fwrite) {
            $fwrite = fwrite($this->socket, substr($line, $written));
            if ($fwrite === false) {
                throw new \Erebot\Exception('Connection closed by proxy');
            }
        }
        return $written;
    }
430985
private function notify($line)
    {
        $observers = $this->observers;

        foreach ($observers as $observer) {
            $this->delegate($observer, $line);
        }
    }
762766
public function notice(
        $msg,
        array $args = array(),
        \Exception $exception = null
    ) {
        return $this->log(\Plop\NOTICE, $msg, $args, $exception);
    }
329308
public function addErrorOutput($line)
    {
        $this->lastOutputTime = microtime(true);

        fseek($this->stderr, 0, SEEK_END);
        fwrite($this->stderr, $line);
        fseek($this->stderr, $this->incrementalErrorOutputOffset);
    }
957400
private function writeListing( array $elements, int $indentLevel, string $lineChar ) : void
	{
		if ( 0 === count( $elements ) )
		{
			return;
		}

		$indent = str_repeat( ' ', $indentLevel * 2 );

		$this->write(
			"%s%s %s  \n\n",
			$indent,
			$lineChar,
			implode( "  \n{$indent}{$lineChar} ", $elements )
		);
	}
193653
protected void writeLine(final String line) {
		getContainer().getShell().getDisplay().syncExec(
			new Runnable() {
				public void run() {
					if (statusTextArea != null) {
						statusTextArea.setText(line + '\n' + statusTextArea.getText()); 
					}
				}
			}
		);
	}
937442
function log_exception($severity, $message, $filepath, $line)
	{
		$severity = ( ! isset($this->levels[$severity])) ? $severity : $this->levels[$severity];

		log_message('error', 'Severity: '.$severity.'  --> '.$message. ' '.$filepath.' '.$line, TRUE);
	}