|iNTERFACEWARE Products Manual > Installing and Using Iguana > Using Iguana > Working With the Logs > Using the Log Query API|
You can add log queries to any C++, C#, VB.NET, Java or Delphi application that you are writing.
To include a log query, define an object of type LogQuery, supply it with information about the query you want to perform, and then execute the query. An object of type LogQueryResult is returned, which contains the results of the query.
For more details on the LogQuery and LogQueryResult objects, see the language-specific documentation for the log query API:
To include log queries in your application, it will need to reference the IGC dynamic library, which includes definitions of the LogQuery and LogQueryResult objects. This is the library that plugins reference. For more information on referencing the IGC dynamic library, refer to one of the following pages, depending on the programming language that you are using:
When you use the log query API to obtain a list of log messages, the log messages are returned as LogMessage objects. Each LogMessage object represents an individual Iguana log message, and contains a message log ID field that uniquely identifies this message. If you store this message log ID in a database table, you can use it to obtain a direct link to the Iguana log entry for the message. For more details on how to use the message log ID, see Using the Message Log ID in VMD Files.
The following sections describe examples of how you can use the log query API: