mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 16:06:51 +02:00
Initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
plugins {
|
||||
id 'twomartens.java'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':lib')
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package de.twomartens.template;
|
||||
|
||||
import de.twomartens.template.model.Name;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Name name = new Name("World");
|
||||
log.info("Hello %s!".formatted(name));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Configuration status="warn" monitorInterval="30">
|
||||
<Appenders>
|
||||
<Console name="console" target="SYSTEM_OUT">
|
||||
<PatternLayout alwaysWriteExceptions="true"
|
||||
pattern="%5p %d{HH:mm:ss.SSS} (%F:%L) %notEmpty{[%X{REQTYPE}] }%notEmpty{[%marker] }%K{event.end}%m%n%xEx{full}"/>
|
||||
</Console>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<Root level="INFO">
|
||||
<AppenderRef ref="console"/>
|
||||
</Root>
|
||||
</Loggers>
|
||||
</Configuration>
|
||||
Reference in New Issue
Block a user