PHP » PYTHON |
login |
register |
about
|
PYTHON error_log
is this article helpful?
|
Python replacement for PHP's error_log
[
edit
| history
]
Only for werkzeug
from werkzeug._internal import _log _log('info', 'Your log info') error_log(PHP 4, PHP 5) error_log — Send an error message somewhere Description
bool error_log
( string $message
[, int $message_type= 0
[, string $destination
[, string $extra_headers
]]] )
Sends an error message to the web server's error log, a TCP port or to a file. Parameters
Return ValuesReturns TRUE on success or FALSE on failure. Changelog
Examples
Example #1 error_log() examples
<?php
|
more
Recently updated
more
Most requested
more
Last requests
|