update logging infos
[yosql.git] / yosql-website / content / logging / jul.md
blob0f661fb333cb2785ba6f6429734060c52b61dfe2
1 ---
2 title: JUL
3 date: 2019-09-27T18:51:08+02:00
4 menu:
5   main:
6     parent: Logging APIs
7 categories:
8   - Loggers
9 tags:
10   - JUL
11   - java.util.logging
12 ---
14 The `java.util.logging` based implementation for a logging generator. It does not require any external non-JDK classes. All loggers use the [basePackageName](/configuration/repositories/basepackagename/) as their base name.
16 ## Tooling
18 ### Maven
20 In order to use `YoSQL` together with [Maven](https://maven.apache.org/), take a look at the tooling [documentation
21 for Maven](/tooling/maven/).
23 ```xml
24   <build>
25     <plugins>
26       ...
27       <plugin>
28         <groupId>wtf.metio.yosql</groupId>
29         <artifactId>yosql-tooling-maven</artifactId>
30         <configuration>
31           <apis>
32             <loggingApi>JUL</loggingApi>
33           </apis>
34         </configuration>
35       </plugin>
36       ...
37     </plugins>
38   </build>
39 ```
41 ### Gradle
43 In order to use `YoSQL` together with [Gradle](https://gradle.org/), take a look at the tooling [documentation for Gradle](/tooling/gradle/).
45 ```groovy
46 plugins {
47   id("wtf.metio.yosql")
50 yosql {
51   apis {
52     loggingApi = JUL
53   }
55 ```
57 ### Bazel
59 In order to use `YoSQL` together with [Bazel](https://bazel.build/), take a look at the tooling [documentation for
60 Bazel](/tooling/bazel/).
62 ### CLI
64 In order to use YoSQL on the command line, take a look at the tooling [documentation for CLI](/tooling/cli/).
66 ```shell
67 $ yosql --apis-logging-api=JUL
68 ```
70 The shorter form is available as well:
72 ```shell
73 $ yosql --logging-api=JUL
74 ```