JVCL Help:TJvLogFile

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvLogFile
run\JvLogFile.pas


Summary

This component gives logging functionality.

run\JvLogFile.pas


Pascal

 run\JvLogFile.pas
 TJvLogFile = class(TJvComponent);


Description

  1. JVCLInfo

This is a pretty simple yet powerfull component, excellent for using with experimental code or try-exception-do blocks.
If you want to use it just drop it on the form and at least set the log file's name (and maybe you want to set the AutoSave attribute := true and the SizeLimit attribute), after that if you want to log some event invoke the Add procedure like this: JvLogFile.Add('ERROR HEADER', 'ERROR DETAIL'); And that's all, quick and clean.
If you want to clean the log file invoke the Clean() procedure If you want to open the log file invoke the ShowLog('NAME OF LOG FILE') procedure, this will open the Jv Logging window from where you can save it to a cvs file or print it.

run\JvLogFile.pas


About

Navigation

run\JvLogFile.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page