forked from StarOpenSource/Engine
Move formatter stuff out of logging package
This commit is contained in:
parent
f2576af0b3
commit
6eca780ebf
9 changed files with 11 additions and 9 deletions
|
@ -17,7 +17,7 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* 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.
|
* Provides log format formatting.
|
|
@ -17,7 +17,7 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* 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.
|
* Performs message formatting in one cycle.
|
|
@ -17,7 +17,7 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* 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.
|
* Performs message formatting in two cycles.
|
|
@ -17,7 +17,7 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* 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
|
import kotlin.text.iterator
|
||||||
|
|
|
@ -19,13 +19,15 @@
|
||||||
|
|
||||||
package de.staropensource.engine.base.implementation.logging
|
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
|
import kotlin.text.iterator
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swallows all formatting tags
|
* Swallows all formatting tags
|
||||||
* and returns a clean format.
|
* and returns a clean format.
|
||||||
*
|
*
|
||||||
|
* @see Formatter
|
||||||
* @since v1-alpha10
|
* @since v1-alpha10
|
||||||
*/
|
*/
|
||||||
class NoOperationFormatter private constructor(): OneCycleFormatter() {
|
class NoOperationFormatter private constructor(): OneCycleFormatter() {
|
||||||
|
|
|
@ -23,7 +23,7 @@ import de.staropensource.engine.base.Engine
|
||||||
import de.staropensource.engine.base.EngineConfiguration
|
import de.staropensource.engine.base.EngineConfiguration
|
||||||
import de.staropensource.engine.base.implementable.logging.Adapter
|
import de.staropensource.engine.base.implementable.logging.Adapter
|
||||||
import de.staropensource.engine.base.implementable.logging.CrashCategory
|
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.Call
|
||||||
import de.staropensource.engine.base.type.logging.ChannelSettings
|
import de.staropensource.engine.base.type.logging.ChannelSettings
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ package de.staropensource.engine.base.logging
|
||||||
import de.staropensource.engine.base.EngineConfiguration
|
import de.staropensource.engine.base.EngineConfiguration
|
||||||
import de.staropensource.engine.base.implementable.logging.Adapter
|
import de.staropensource.engine.base.implementable.logging.Adapter
|
||||||
import de.staropensource.engine.base.implementable.logging.FormatBuilder
|
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.implementable.logging.LoggerThreadingHandler
|
||||||
import de.staropensource.engine.base.type.logging.Call
|
import de.staropensource.engine.base.type.logging.Call
|
||||||
import de.staropensource.engine.base.type.logging.ChannelSettings
|
import de.staropensource.engine.base.type.logging.ChannelSettings
|
||||||
|
|
|
@ -21,7 +21,7 @@ package de.staropensource.engine.base.type.logging
|
||||||
|
|
||||||
import de.staropensource.engine.base.EngineConfiguration
|
import de.staropensource.engine.base.EngineConfiguration
|
||||||
import de.staropensource.engine.base.implementable.logging.Adapter
|
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.NoOperationFormatter
|
||||||
import de.staropensource.engine.base.implementation.logging.adapter.PrintlnAdapter
|
import de.staropensource.engine.base.implementation.logging.adapter.PrintlnAdapter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue