[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'tiLog' (#tiopf)

TtiSevToLog

It is possible to filter for a group of log events

Declaration

Source position: tiLog.pas line 85

type TtiSevToLog = set of (

  lsNormal,

  

Log general information

  lsUserInfo,

  

Log database connection and user credentials information

  lsObjCreation,

  

Can be used to log when objects are created

  lsVisitor,

  

Logs information about when visitor groups executed or completed

  lsConnectionPool,

  

Logs information about thread pools and loading or unloading of persistence layers

  lsAcceptVisitor,

  

Logs information about the AcceptVisitor method and result

  lsQueryTiming,

  

Logs query timing and performance information

  lsDebug,

  

Useful for extra debugging output

  lsWarning,

  

Used to record when some warning appeared in the code

  lsError,

  

Used to record when some error appears in the code. This is normally in conjuction witha error dialog in the user interface.

  lsSQL

  

Logs the actual SQL statements that are used and their parameter values

);

Description

You can populate this set with log event types and only those will be logged.

If you use the LogToGUI, then you can toggle these values at runtime


Documentation generated on: 2017-08-16