File: README.txt

package info (click to toggle)
velocity 1.7-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,844 kB
  • ctags: 5,363
  • sloc: java: 41,235; xml: 15,001; sh: 192; sql: 18; makefile: 5
file content (42 lines) | stat: -rw-r--r-- 1,024 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Welcome to Velocity!

This directory contains a few examples to help get you started.

As always, the if you have any questions :

1) Make sure you followed any directions :-) (did you build
   everything?)

2) Review documentation included in this package, or online at
   http://velocity.apache.org/

3) Ask on the velocity-user list.  This is a great source of support
   information.  To join, read http://velocity.apache.org/contact.html
   and then follow the links to join the lists.


logger_example
--------------

This 'toy' example shows how to use the Velocity logger interface
to have any class function as a logging facility.  

To run :

./logger_example.sh

or 

logger_example.bat


Log4jLoggerExample
------------------
This class demonstrates how to configure Velocity to use an 
 existing log4j logger for logging.

To test this example, change "LoggerExample" to "Log4jLoggerExample"
in the batch file and run.

You will see that the log4j output will contain the output from
velocity's initialization.