Library to use a logger based in dynamic template definitions
var
TemplateFile, InfoTemplate: ITemplateLog;
Log: ILog;
LogActor: ILogActor;
begin
TemplateFile := TTemplateLog.New('{AppPath}demo_{Month}{Year}.log', TInsensitiveTextMatch.New);
InfoTemplate := TTemplateLog.New('{IP}:{PC}-{User}-{App}[{LogLevel}]>>{DateTime} {TEXT}', TInsensitiveTextMatch.New);
Log := TTextFileLog.New(TemplateFile, InfoTemplate);
LogActor := TLogActor.Create(Log);
LogActor.LogDebug('Something');
LogActor.LogErrorText('Fail!');
end;
If not exists folder "code-documentation" then run the batch "build_doc". The main entry is ./doc/index.html
Before all, run the batch "build_demo" to build proyect. Then go to the folder "demo\build\release" and run the executable.
- ooGeneric - Generic object oriented list
- ooText - Object pascal string library
- ooOS - Object pascal operation system library
- ooParser - Object pascal base parser
- ooTemplateParser - Object pascal template parser library
- ooScapeTranslate - Object pascal scape translate
- ooConsole - Object pascal console handler
This are an open-source project, and they need your help to go on growing and improving. You can even fork the project on GitHub, maintain your own version and send us pull requests periodically to merge your work.
- Alejandro Polti (Vencejo Software team lead) - Initial work