Move formatter stuff out of logging package
Some checks failed
PRs & Pushes / build (push) Failing after 1m57s
PRs & Pushes / test (push) Failing after 2m6s
PRs & Pushes / build-apidoc (push) Successful in 2m27s

This commit is contained in:
JeremyStar™ 2024-12-20 17:45:10 +01:00
parent f2576af0b3
commit 6eca780ebf
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
9 changed files with 11 additions and 9 deletions

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.engine.base.implementable.logging
package de.staropensource.engine.base.implementable.formatter
/**
* Provides log format formatting.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.engine.base.implementable.logging
package de.staropensource.engine.base.implementable.formatter
/**
* Performs message formatting in one cycle.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.engine.base.implementable.logging
package de.staropensource.engine.base.implementable.formatter
/**
* Performs message formatting in two cycles.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.engine.base.implementable.logging
package de.staropensource.engine.base.implementable.formatter
import kotlin.text.iterator

View file

@ -19,13 +19,15 @@
package de.staropensource.engine.base.implementation.logging
import de.staropensource.engine.base.implementable.logging.OneCycleFormatter
import de.staropensource.engine.base.implementable.formatter.Formatter
import de.staropensource.engine.base.implementable.formatter.OneCycleFormatter
import kotlin.text.iterator
/**
* Swallows all formatting tags
* and returns a clean format.
*
* @see Formatter
* @since v1-alpha10
*/
class NoOperationFormatter private constructor(): OneCycleFormatter() {

View file

@ -23,7 +23,7 @@ import de.staropensource.engine.base.Engine
import de.staropensource.engine.base.EngineConfiguration
import de.staropensource.engine.base.implementable.logging.Adapter
import de.staropensource.engine.base.implementable.logging.CrashCategory
import de.staropensource.engine.base.implementable.logging.Formatter
import de.staropensource.engine.base.implementable.formatter.Formatter
import de.staropensource.engine.base.type.logging.Call
import de.staropensource.engine.base.type.logging.ChannelSettings

View file

@ -22,7 +22,7 @@ package de.staropensource.engine.base.logging
import de.staropensource.engine.base.EngineConfiguration
import de.staropensource.engine.base.implementable.logging.Adapter
import de.staropensource.engine.base.implementable.logging.FormatBuilder
import de.staropensource.engine.base.implementable.logging.Formatter
import de.staropensource.engine.base.implementable.formatter.Formatter
import de.staropensource.engine.base.implementable.logging.LoggerThreadingHandler
import de.staropensource.engine.base.type.logging.Call
import de.staropensource.engine.base.type.logging.ChannelSettings

View file

@ -21,7 +21,7 @@ package de.staropensource.engine.base.type.logging
import de.staropensource.engine.base.EngineConfiguration
import de.staropensource.engine.base.implementable.logging.Adapter
import de.staropensource.engine.base.implementable.logging.Formatter
import de.staropensource.engine.base.implementable.formatter.Formatter
import de.staropensource.engine.base.implementation.logging.NoOperationFormatter
import de.staropensource.engine.base.implementation.logging.adapter.PrintlnAdapter

View file

@ -356,7 +356,7 @@ open class BuildInformation
return output
} else
// Read from filesystem
// Read from filesystem
return FileAccess("${loadLocation}/${loadPrefix}-${file}.properties")
.readString()
}