extends abstract class Phalcon\Logger\Adapter
implements Phalcon\Logger\AdapterInterface
Sends logs to a valid PHP stream
$logger = new \Phalcon\Logger\Adapter\Stream("php://stderr"); $logger->log("This is a message"); $logger->log(\Phalcon\Logger::ERROR, "This is an error"); $logger->error("This is another error");
Phalcon\Logger\Adapter\Stream constructor
Returns the internal formatter
Writes the log to the stream itself
Closes the logger
Filters the logs sent to the handlers that are less or equal than a specific level
Returns the current log level
Sets the message formatter
Starts a transaction
Commits the internal transaction
Rollbacks the internal transaction
Returns the whether the logger is currently in an active transaction or not
Sends/Writes a critical message to the log
Sends/Writes an emergency message to the log
Sends/Writes a debug message to the log
Sends/Writes an error message to the log
Sends/Writes an info message to the log
Sends/Writes a notice message to the log
Sends/Writes a warning message to the log
Sends/Writes an alert message to the log
Logs messages to the internal logger. Appends logs to the logger
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Logger_Adapter_Stream.html