xref: /aosp_15_r20/external/slf4j/log4j-over-slf4j/compatibility/readme.txt (revision d4cc4a21ff30dee54251e974d02850809c70b030)
1*d4cc4a21SXin Li
2*d4cc4a21SXin LiThis directory is used to test the module against various log4j calls.
3*d4cc4a21SXin LiTwo test cases simulate the typical calls that one can find in an application
4*d4cc4a21SXin Lithat uses either log4j 1.2.x, or log4j 1.3.x.
5*d4cc4a21SXin Li
6*d4cc4a21SXin LiIn the same directory is a build.xml file that uses ant to
7*d4cc4a21SXin Licompile the test cases with the corresponding log4j version,
8*d4cc4a21SXin Liand to run these tests without log4j in the classpath but with
9*d4cc4a21SXin Lilogback jars instead.
10*d4cc4a21SXin Li
11*d4cc4a21SXin LiTo run the tests, one must have ant installed. Issuing the following command,
12*d4cc4a21SXin Lionce in the compatibility directory will launch the tests:
13*d4cc4a21SXin Li
14*d4cc4a21SXin Liant all
15*d4cc4a21SXin Li
16*d4cc4a21SXin LiTo obtain more information about the use of the log4j-over-slf4j module,
17*d4cc4a21SXin Liplease visit http://www.slf4j.org/log4j-over-slf4j.html
18