|
JWSCL Documentation
|
Project JEDI Windows Security Code Library (JWSCL)
This unit contains a log mechanisms
The Original Code is JwsclLogging.pas.
The Initial Developer of the Original Code is Christian Wimmer. Portions created by Christian Wimmer are Copyright (C) Christian Wimmer. All rights reserved.
Christian Wimmer
|
|
Name |
Description |
|
This is class TJwLogClientImpl. | |
|
This is class TJwLogServerImpl. | |
|
TJwLogWriter defines a default and base class for xml write operations and other util functions. Overwrite this class and specify its class type to CreateLogServer for changed behavior. |
|
Name |
Description |
|
This is constant IID_JwWriterCLASS. |
|
|
Name |
Description |
|
TJwEnterType defines an enter/leave attribute type | |
|
TJwLogType defines log tag attribute types | |
|
TJwSignalType defines a signal attribute type | |
|
TJwXMLAttrTag defines known xml tag attributes | |
|
This is record TJwXMLEventType. | |
|
This is record TJwXMLLogTag. | |
|
TJwXMLTag defines known XML tag names |
|
|
Name |
Description |
|
CreateLogServer creates a new log server that can hold several log clients (IJwLogClient). A log sever creates a new logprocess tag and closes it if it is destroyed. It saves each xml tag into a new string list item in parameter Elements. This behavior can be overwritten by using a non default WriterClass (TJwLogWriterClass) | |
|
Exception creates an exception information log entry. | |
|
Exception creates an exception information log entry with log source information. | |
|
This is function GetEventTypesEnabled. | |
|
Log creates an ordinary log entry with log source information. | |
|
Log creates an ordinary log entry. | |
|
Memory creates a memory information log entry. Application can log allocations and deallocations of memory for leak search. | |
|
Memory creates a memory information log entry with log source information. Application can log allocations and deallocations of memory for leak search. | |
|
SetEventTypes sets the type of events which are logged of this log client | |
|
SetEventTypesEnabled enables or disables logging. It just does not write output. | |
|
Signal creates a signal log entry. A signal log entries is used for communcation logging. Threads or processes may use events to signal special events. | |
|
Signal creates a signal log entry. A signal log entries is used for communcation logging. Threads or processes may use events to signal special events. |
|
|
Name |
Description |
|
IJwLogClient defines an interface for a log client. Use IJwLogServer.Connect to create an instance of this interface. Each log function is multi thread safe. Different log calls in different threads will wait for each other. | |
|
This is class IJwLogServer. | |
|
This is class IJwWriterClass. |
|
|
Name |
Description |
|
This is record TJwEventType. | |
|
TJwXMLAttribute defines an attribute. Attributes with empty name or value will be ignored | |
|
This is record TThreadMapRec. |
|
Name |
Description |
|
This is type TJwEventTypes. | |
|
TJwOnXMLWrite is called after the xml lines has been generated. Its value is stored into parameter Result. Set parameter result to empty if you don't want the xml line to be stored into the internal string list. | |
|
TJwOnXMLWriting is called before code is processed in IJwWriterClass The function receives information about the xml line to be generated. | |
|
TJwXMLAttributes defines an dynamic array of attributes | |
|
This is type TThreadMapRecs. |
|
Name |
Description |
|
strings for enter/leave tag type value | |
|
strings for log tag value | |
|
strings for memory type value | |
|
strings for signal tag type value | |
|
JwStrNewLine : AnsiString = #13#10; identation string (default #9 = tabulator char) | |
|
format of start attribute value for processlog tag | |
|
strings type attribute names | |
|
This is variable JwXMLLogTagString. | |
|
strings for xml tags |
The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
Alternatively, the contents of this file may be used under the terms of the GNU Lesser General Public License (the "LGPL License"), in which case the provisions of the LGPL License are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the LGPL License and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the LGPL License. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the LGPL License.
For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|