Compare commits
25 Commits
openrndr-t
...
openrndr-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f391fed255 | ||
|
|
896a8629fa | ||
|
|
53dec983b1 | ||
|
|
0296f5036f | ||
|
|
5151b7af89 | ||
|
|
38254b084d | ||
|
|
5c0b2b2c3f | ||
|
|
e86cf3f7e6 | ||
|
|
3374024592 | ||
|
|
14bb87c02e | ||
|
|
6c0d0ed16b | ||
|
|
eab750d7f7 | ||
|
|
63bbdb1218 | ||
|
|
59349d83f2 | ||
|
|
998a5051c1 | ||
|
|
97c55825e2 | ||
|
|
15c188aee0 | ||
|
|
6c3d1319cb | ||
|
|
ede734d74c | ||
|
|
89fce80aff | ||
|
|
0a478a98a6 | ||
|
|
b994ccfd28 | ||
|
|
79d9a7971a | ||
|
|
d99af16ab8 | ||
|
|
b781680fb6 |
15
.github/workflows/build-on-commit.yaml
vendored
Normal file
15
.github/workflows/build-on-commit.yaml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Build on commit
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Build sources
|
||||
run: ./gradlew build
|
||||
30
.github/workflows/publish-binaries-linux-x64.yaml
vendored
Normal file
30
.github/workflows/publish-binaries-linux-x64.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Publish Linux/x64 binaries
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v0.*
|
||||
- v0.*.*
|
||||
- v1.*
|
||||
- v1.*.*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew jpackageZip
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.6.1
|
||||
id: create_release
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
allowUpdates: true
|
||||
replaceArtifacts: false
|
||||
body: Fully automated release
|
||||
artifacts: "./build/distributions/openrndr-application-linux-x64.zip"
|
||||
30
.github/workflows/publish-binaries-macos.yaml
vendored
Normal file
30
.github/workflows/publish-binaries-macos.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Publish macOS binaries
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v0.*
|
||||
- v0.*.*
|
||||
- v1.*
|
||||
- v1.*.*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew jpackageZip
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.6.1
|
||||
id: create_release
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
allowUpdates: true
|
||||
replaceArtifacts: false
|
||||
body: Fully automated release
|
||||
artifacts: "./build/distributions/openrndr-application-macos.zip"
|
||||
30
.github/workflows/publish-binaries-windows.yaml
vendored
Normal file
30
.github/workflows/publish-binaries-windows.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Publish Windows binaries
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v0.*
|
||||
- v0.*.*
|
||||
- v1.*
|
||||
- v1.*.*
|
||||
-
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew jpackageZip
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.6.1
|
||||
id: create_release
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
allowUpdates: true
|
||||
replaceArtifacts: false
|
||||
body: Fully automated release
|
||||
artifacts: "./build/distributions/openrndr-application-windows.zip"
|
||||
18
README.md
18
README.md
@@ -1,12 +1,24 @@
|
||||
# openrndr-template
|
||||
# OPENRNDR template project
|
||||
A feature rich template for creating OPENRNDR programs based on Gradle/Kts
|
||||
|
||||
You will find some [basic instructions](https://guide.openrndr.org/#/02_Getting_Started_with_OPENRNDR/C00_SetupYourFirstProgram) in the [OPENRNDR guide](https://guide.openrndr.org)
|
||||
|
||||
The template consists of a configuration for Gradle and an example OPENRNDR program. The Gradle configuration should serve as the
|
||||
go-to starting point for writing OPENRNDR-based software.
|
||||
|
||||
If you are looking at this from IntelliJ IDEA you can start by expanding the _project_ tab on the left. You will find a template program in `src/main/kotlin/TemplateProgram.kt`
|
||||
|
||||
You will find some [basic instructions](https://guide.openrndr.org/#/02_Getting_Started_with_OPENRNDR/C00_SetupYourFirstProgram) in the [OPENRNDR guide](https://guide.openrndr.org)
|
||||
|
||||
## Gradle tasks
|
||||
- `run` runs the TemplateProgram
|
||||
- `jar` creates an executable platform specific jar file with all dependencies
|
||||
- `zipDistribution` creates a zip file containing the application jar and the data folder
|
||||
- `jpackageZip` creates a zip with a stand-alone executable for the current platform (works with Java 14 only)
|
||||
|
||||
## Cross builds
|
||||
To create runnable jars for a platform different from the platform you use to build one uses `./gradlew jar --PtargetPlatform=<platform>`. The supported platforms are `windows`, `macos`, `linux-x64` and `linux-arm64`. Note that the `linux-arm64` platform will only work with OPENRNDR snapshot builds from master and OPENRNDR 0.3.39 (a future version).
|
||||
|
||||
## Github Actions
|
||||
|
||||
This repository contains a number of Github Actions in `./github/workflows`.
|
||||
The actions enable a basic build run on commit, plus publication actions that are executed when
|
||||
a commit is tagged with a version number like `v0.*` or `v1.*`.
|
||||
234
build.gradle.kts
234
build.gradle.kts
@@ -1,40 +1,83 @@
|
||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||
import org.gradle.internal.os.OperatingSystem
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
|
||||
|
||||
val kotlinVersion = "1.3.50"
|
||||
|
||||
plugins {
|
||||
java
|
||||
kotlin("jvm") version("1.3.50")
|
||||
}
|
||||
/* the name of this project, default is the template version but you are free to change these */
|
||||
group = "org.openrndr.template"
|
||||
version = "0.3.6"
|
||||
version = "0.3.12"
|
||||
|
||||
val applicationMainClass = "TemplateProgramKt"
|
||||
|
||||
/* Which additional (ORX) libraries should be added to this project. */
|
||||
val orxFeatures = setOf(
|
||||
// "orx-camera",
|
||||
"orx-compositor",
|
||||
// "orx-easing",
|
||||
// "orx-file-watcher",
|
||||
// "orx-parameters",
|
||||
// "orx-filter-extension",
|
||||
"orx-fx",
|
||||
// "orx-glslify",
|
||||
// "orx-gradient-descent",
|
||||
// "orx-integral-image",
|
||||
// "orx-interval-tree",
|
||||
// "orx-jumpflood",
|
||||
"orx-gui",
|
||||
"orx-image-fit",
|
||||
// "orx-kdtree",
|
||||
// "orx-mesh-generators",
|
||||
// "orx-midi",
|
||||
// "orx-no-clear",
|
||||
"orx-noise",
|
||||
// "orx-obj-loader",
|
||||
"orx-olive",
|
||||
// "orx-osc",
|
||||
// "orx-palette",
|
||||
// "orx-poisson-fill",
|
||||
// "orx-runway",
|
||||
// "orx-shader-phrases",
|
||||
"orx-shade-styles",
|
||||
// "orx-shapes",
|
||||
// "orx-syphon",
|
||||
// "orx-temporal-blur",
|
||||
// "orx-kinect-v1",
|
||||
"orx-panel"
|
||||
)
|
||||
|
||||
/* Which OPENRNDR libraries should be added to this project? */
|
||||
val openrndrFeatures = setOf(
|
||||
"video"
|
||||
)
|
||||
|
||||
/* Which version of OPENRNDR and ORX should be used? */
|
||||
val openrndrUseSnapshot = false
|
||||
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.36"
|
||||
val openrndrOs = when (OperatingSystem.current()) {
|
||||
OperatingSystem.WINDOWS -> "windows"
|
||||
OperatingSystem.MAC_OS -> "macos"
|
||||
OperatingSystem.LINUX -> "linux-x64"
|
||||
else -> throw IllegalArgumentException("os not supported")
|
||||
}
|
||||
|
||||
// supported features are: video, panel
|
||||
val openrndrFeatures = setOf("video", "panel")
|
||||
|
||||
val panelUseSnapshot = false
|
||||
val panelVersion = if (panelUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.18"
|
||||
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.42"
|
||||
|
||||
val orxUseSnapshot = false
|
||||
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.40"
|
||||
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.51"
|
||||
|
||||
// supported features are: orx-camera, orx-compositor,orx-easing, orx-filter-extension,orx-file-watcher,
|
||||
// orx-integral-image, orx-interval-tree, orx-jumpflood, orx-kdtree, orx-mesh-generators,orx-midi, orx-no-clear,
|
||||
// orx-noise, orx-obj, orx-olive, orx-osc, orx-palette
|
||||
//<editor-fold desc="This is code for OPENRNDR, no need to edit this .. most of the times">
|
||||
val supportedPlatforms = setOf("windows", "macos", "linux-x64", "linux-arm64")
|
||||
|
||||
val orxFeatures = setOf("orx-noise")
|
||||
val openrndrOs = if (project.hasProperty("targetPlatform")) {
|
||||
val platform : String = project.property("targetPlatform") as String
|
||||
if (platform !in supportedPlatforms) {
|
||||
throw IllegalArgumentException("target platform not supported: $platform")
|
||||
} else {
|
||||
platform
|
||||
}
|
||||
} else when (OperatingSystem.current()) {
|
||||
OperatingSystem.WINDOWS -> "windows"
|
||||
OperatingSystem.MAC_OS -> "macos"
|
||||
OperatingSystem.LINUX -> when(val h = DefaultNativePlatform("current").architecture.name) {
|
||||
"x86-64" -> "linux-x64"
|
||||
"aarch64" -> "linux-arm64"
|
||||
else ->throw IllegalArgumentException("architecture not supported: $h")
|
||||
}
|
||||
else -> throw IllegalArgumentException("os not supported")
|
||||
}
|
||||
//</editor-fold>
|
||||
|
||||
enum class Logging {
|
||||
NONE,
|
||||
@@ -42,12 +85,21 @@ enum class Logging {
|
||||
FULL
|
||||
}
|
||||
|
||||
val applicationLogging = Logging.SIMPLE
|
||||
/* What type of logging should this project use? */
|
||||
val applicationLogging = Logging.FULL
|
||||
|
||||
val kotlinVersion = "1.3.72"
|
||||
|
||||
plugins {
|
||||
java
|
||||
kotlin("jvm") version("1.3.72")
|
||||
id("com.github.johnrengelman.shadow") version ("5.2.0")
|
||||
id("org.beryx.runtime") version ("1.8.1")
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
if (openrndrUseSnapshot || orxUseSnapshot || panelUseSnapshot) {
|
||||
if (openrndrUseSnapshot || orxUseSnapshot) {
|
||||
mavenLocal()
|
||||
}
|
||||
maven(url = "https://dl.bintray.com/openrndr/openrndr")
|
||||
@@ -65,54 +117,66 @@ fun DependencyHandler.openrndrNatives(module: String): Any {
|
||||
return "org.openrndr:openrndr-$module-natives-$openrndrOs:$openrndrVersion"
|
||||
}
|
||||
|
||||
fun DependencyHandler.orxNatives(module: String): Any {
|
||||
return "org.openrndr.extra:$module-natives-$openrndrOs:$orxVersion"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
runtime(openrndr("gl3"))
|
||||
runtime(openrndrNatives("gl3"))
|
||||
compile(openrndr("core"))
|
||||
compile(openrndr("svg"))
|
||||
compile(openrndr("animatable"))
|
||||
compile(openrndr("extensions"))
|
||||
compile(openrndr("filter"))
|
||||
/* This is where you add additional (third-party) dependencies */
|
||||
|
||||
compile("org.jetbrains.kotlinx", "kotlinx-coroutines-core","1.3.0")
|
||||
// implementation("org.jsoup:jsoup:1.12.2")
|
||||
// implementation("com.google.code.gson:gson:2.8.6")
|
||||
|
||||
compile("io.github.microutils", "kotlin-logging","1.7.6")
|
||||
runtimeOnly(openrndr("gl3"))
|
||||
runtimeOnly(openrndrNatives("gl3"))
|
||||
implementation(openrndr("openal"))
|
||||
runtimeOnly(openrndrNatives("openal"))
|
||||
implementation(openrndr("core"))
|
||||
implementation(openrndr("svg"))
|
||||
implementation(openrndr("animatable"))
|
||||
implementation(openrndr("extensions"))
|
||||
implementation(openrndr("filter"))
|
||||
|
||||
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core","1.3.6")
|
||||
implementation("io.github.microutils", "kotlin-logging","1.7.9")
|
||||
|
||||
when(applicationLogging) {
|
||||
Logging.NONE -> {
|
||||
runtime("org.slf4j","slf4j-nop","1.7.29")
|
||||
runtimeOnly("org.slf4j","slf4j-nop","1.7.30")
|
||||
}
|
||||
Logging.SIMPLE -> {
|
||||
runtime("org.slf4j","slf4j-simple","1.7.29")
|
||||
runtimeOnly("org.slf4j","slf4j-simple","1.7.30")
|
||||
}
|
||||
Logging.FULL -> {
|
||||
runtime("org.apache.logging.log4j", "log4j-slf4j-impl", "2.12.1")
|
||||
runtime("com.fasterxml.jackson.core", "jackson-databind", "2.8.7")
|
||||
runtime("com.fasterxml.jackson.dataformat", "jackson-dataformat-yaml", "2.8.7")
|
||||
runtimeOnly("org.apache.logging.log4j", "log4j-slf4j-impl", "2.13.1")
|
||||
runtimeOnly("com.fasterxml.jackson.core", "jackson-databind", "2.10.3")
|
||||
runtimeOnly("com.fasterxml.jackson.dataformat", "jackson-dataformat-yaml", "2.10.3")
|
||||
}
|
||||
}
|
||||
|
||||
if ("video" in openrndrFeatures) {
|
||||
compile(openrndr("ffmpeg"))
|
||||
runtime(openrndrNatives("ffmpeg"))
|
||||
}
|
||||
|
||||
if ("panel" in openrndrFeatures) {
|
||||
compile("org.openrndr.panel:openrndr-panel:$panelVersion")
|
||||
implementation(openrndr("ffmpeg"))
|
||||
runtimeOnly(openrndrNatives("ffmpeg"))
|
||||
}
|
||||
|
||||
for (feature in orxFeatures) {
|
||||
compile(orx(feature))
|
||||
implementation(orx(feature))
|
||||
}
|
||||
|
||||
if ("orx-kinect-v1" in orxFeatures) {
|
||||
runtimeOnly(orxNatives("orx-kinect-v1"))
|
||||
}
|
||||
|
||||
if ("orx-olive" in orxFeatures) {
|
||||
compile("org.jetbrains.kotlin", "kotlin-scripting-compiler-embeddable")
|
||||
implementation("org.jetbrains.kotlin:kotlin-script-runtime:$kotlinVersion")
|
||||
}
|
||||
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
testCompile("junit", "junit", "4.12")
|
||||
testImplementation("junit", "junit", "4.12")
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
configure<JavaPluginConvention> {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
@@ -120,28 +184,64 @@ tasks.withType<KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
|
||||
tasks.withType<Jar> {
|
||||
|
||||
project.setProperty("mainClassName", applicationMainClass)
|
||||
tasks {
|
||||
named<ShadowJar>("shadowJar") {
|
||||
manifest {
|
||||
attributes["Main-Class"] = applicationMainClass
|
||||
}
|
||||
doFirst {
|
||||
from(configurations.compileClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
|
||||
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
|
||||
minimize {
|
||||
exclude(dependency("org.openrndr:openrndr-gl3:.*"))
|
||||
exclude(dependency("org.jetbrains.kotlin:kotlin-reflect:.*"))
|
||||
}
|
||||
}
|
||||
named<org.beryx.runtime.JPackageTask>("jpackage") {
|
||||
doLast {
|
||||
when (OperatingSystem.current()) {
|
||||
OperatingSystem.WINDOWS, OperatingSystem.LINUX -> {
|
||||
copy {
|
||||
from("data") {
|
||||
include("**/*")
|
||||
}
|
||||
into("build/jpackage/openrndr-application/data")
|
||||
}
|
||||
}
|
||||
OperatingSystem.MAC_OS -> {
|
||||
copy {
|
||||
from("data") {
|
||||
include("**/*")
|
||||
}
|
||||
into("build/jpackage/openrndr-application.app/data")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
exclude(listOf("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA", "**/module-info*"))
|
||||
archiveFileName.set("application-$openrndrOs.jar")
|
||||
}
|
||||
|
||||
tasks.create("zipDistribution", Zip::class.java) {
|
||||
archiveFileName.set("application-$openrndrOs.zip")
|
||||
from("./") {
|
||||
include("data/**")
|
||||
tasks.register<Zip>("jpackageZip") {
|
||||
archiveFileName.set("openrndr-application-$openrndrOs.zip")
|
||||
from("$buildDir/jpackage") {
|
||||
include("**/*")
|
||||
}
|
||||
from("$buildDir/libs/application-$openrndrOs.jar")
|
||||
}.dependsOn(tasks.jar)
|
||||
}
|
||||
tasks.findByName("jpackageZip")?.dependsOn("jpackage")
|
||||
|
||||
tasks.create("run", JavaExec::class.java) {
|
||||
main = applicationMainClass
|
||||
classpath = sourceSets.main.get().runtimeClasspath
|
||||
}.dependsOn(tasks.build)
|
||||
runtime {
|
||||
jpackage {
|
||||
imageName = "openrndr-application"
|
||||
skipInstaller = true
|
||||
if (OperatingSystem.current() == OperatingSystem.MAC_OS) {
|
||||
jvmArgs.add("-XstartOnFirstThread")
|
||||
}
|
||||
}
|
||||
options.empty()
|
||||
options.add("--strip-debug")
|
||||
options.add("--compress")
|
||||
options.add("1")
|
||||
options.add("--no-header-files")
|
||||
options.add("--no-man-pages")
|
||||
modules.empty()
|
||||
modules.add("jdk.unsupported")
|
||||
}
|
||||
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
||||
#Thu Aug 01 12:32:31 CEST 2019
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-all.zip
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
22
src/main/kotlin/TemplateLiveProgram.kt
Normal file
22
src/main/kotlin/TemplateLiveProgram.kt
Normal file
@@ -0,0 +1,22 @@
|
||||
import org.openrndr.application
|
||||
import org.openrndr.color.ColorRGBa
|
||||
import org.openrndr.extra.olive.oliveProgram
|
||||
|
||||
/**
|
||||
* This is a template for a live program.
|
||||
*
|
||||
* It uses oliveProgram {} instead of program {}. All code inside the
|
||||
* oliveProgram {} can be changed while the program is running.
|
||||
*/
|
||||
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 800
|
||||
height = 800
|
||||
}
|
||||
oliveProgram {
|
||||
extend {
|
||||
drawer.clear(ColorRGBa.PINK)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,6 @@ fun main() = application {
|
||||
}
|
||||
|
||||
program {
|
||||
|
||||
val image = loadImage("data/images/pm5544.png")
|
||||
val font = loadFont("data/fonts/IBMPlexMono-Regular.ttf", 64.0)
|
||||
|
||||
|
||||
@@ -2,10 +2,11 @@ Configuration:
|
||||
status: warn
|
||||
Appenders:
|
||||
Console:
|
||||
name: Console
|
||||
target: SYSTEM_OUT
|
||||
- name: Console_Info
|
||||
target: SYSTEM_ERR
|
||||
PatternLayout:
|
||||
Pattern: "%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"
|
||||
Pattern: "%highlight{${LOG_LEVEL_PATTERN:-%5p}}{FATAL=red, ERROR=red, WARN=yellow, INFO=green, DEBUG=green, TRACE=green} %style{[%t]}{white} %style{%-30.30c{1.}}{white} %style{ ↘ %m%n%ex}{white}"
|
||||
#Pattern: "%style{%d{yyyy-MM-dd HH:mm:ss.SSS}}{white} %highlight{${LOG_LEVEL_PATTERN:-%5p}}{FATAL=red, ERROR=red, WARN=yellow, INFO=green, DEBUG=green, TRACE=green} %style{[%t]}{white} %style{%-30.30c{1.}}{cyan} %style{:%m%n%ex}{white}"
|
||||
File:
|
||||
append: false
|
||||
name: File_Appender
|
||||
@@ -14,7 +15,7 @@ Configuration:
|
||||
Pattern: "%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"
|
||||
Loggers:
|
||||
Root:
|
||||
level: debug
|
||||
level: info
|
||||
AppenderRef:
|
||||
- ref: Console
|
||||
- ref: Console_Info
|
||||
- ref: File_Appender
|
||||
Reference in New Issue
Block a user