The fastest easiest way to get it right.

System Log Functions

NAME

System Log Functions

FUNCTION

System Log functions are used when you must be certain that a log entry will be written, even if the current transaction rolls back. These kinds of logs are intended for use in debugging or tracking invisible processes, such as a Paypal IPN transaction.

A log can be opened with SysLogOpen, which returns a handle to the log. Log entries are made with SysLogEntry and the log is eventually closed with SysLogClose.

The logs are stored in tables syslogs and syslogs_e.

The guarantee that the log entry will always be written comes at the price of a separate connection to the database for each log. In a debugging situation you can open as many of them as you need, but in a production system they should only be used in highest need.

Child Topics

User Comments

There are no user comments yet on this page.


Add A Comment

Comments will not appear until after they are moderated. Comments are usually moderated within a few hours on weekdays, but may take longer on weekends and holidays.

Name or nickname: (This will appear with your comment)


Email (this will never be displayed)


Enter your comment here. Use [b] and [/b] for bold, [i] and [/i] for italic, and [pre] and [/pre] for code samples. All literal HTML and PHP that you enter will be escaped out and displayed as you enter it.


Home |  Documentation |  Download |  Credits |  Contact |  Login
Andromeda © Copyright 2004-2010, Licensed under the GPL Version 2