Retrieve the firebird.log file from the server if the log file exists. An error is returned if the log file does not exist. This class cannot be inherited.
For a list of all members of this type, see FbLog Members.
System.Object
FirebirdSql.Data.Firebird.Services.FbService
FirebirdSql.Data.Firebird.Services.FbLog
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The following example retrieve the firebird.log and displays it in Console.
FbLog logSvc = new FbLog(); logSvc.UserName = "SYSDBA"; logSvc.UserPassword = "masterkey"; logSvc.Start(); string lineOutput; while((lineOutput = logSvc.GetNextLine()) != null) { Console.WriteLine(lineOutput); } logSvc.Close();
Namespace: FirebirdSql.Data.Firebird.Services
Assembly: FirebirdSql.Data.Firebird (in FirebirdSql.Data.Firebird.dll)
FbLog Members | FirebirdSql.Data.Firebird.Services Namespace