Compare c4fc82e ... +0 ... 584bcbe

Showing 1 of 2 files from the diff.

@@ -0,0 +1,24 @@
Loading
1 +
/*
2 +
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.
3 +
4 +
rebuild is dual-licensed under commercial and open source licenses (GPLv3).
5 +
See LICENSE and COMMERCIAL in the project root for license information.
6 +
*/
7 +
8 +
package com.rebuild.core.support;
9 +
10 +
import ch.qos.logback.core.PropertyDefinerBase;
11 +
12 +
/**
13 +
 * logback dir : ${DataDirectory}/logs/
14 +
 *
15 +
 * @author devezhao
16 +
 * @since 2020/10/20
17 +
 */
18 +
public class LogbackHomePropertyDefiner extends PropertyDefinerBase {
19 +
20 +
    @Override
21 +
    public String getPropertyValue() {
22 +
        return RebuildConfiguration.getFileOfData("logs").getAbsolutePath();
23 +
    }
24 +
}

Learn more Showing 1 files with coverage changes found.

New file src/main/java/com/rebuild/core/support/LogbackHomePropertyDefiner.java
New
Loading file...
Files Coverage
src/main/java/com/rebuild/core 0.40% 51.66%
Project Totals (15 files) 51.66%
Loading