Skip to content

Commit

Permalink
[sre] Move all the JUL implementation into a dedicated package.
Browse files Browse the repository at this point in the history
see #984

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Mar 24, 2020
1 parent 355ba42 commit 4648093
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
Expand Up @@ -27,7 +27,7 @@ import com.google.inject.Provides
import io.bootique.BQModule
import io.bootique.BQModuleProvider
import io.sarl.sre.boot.configs.SreConfig
import io.sarl.sre.services.logging.JulLoggerCreator
import io.sarl.sre.services.logging.jul.JulLoggerCreator
import java.util.logging.Logger
import javax.inject.Provider
import javax.inject.Singleton
Expand Down
Expand Up @@ -27,15 +27,15 @@ import com.google.inject.Module
import com.google.inject.Provides
import io.bootique.BQModule
import io.bootique.BQModuleProvider
import io.sarl.sre.services.logging.JulLoggingService
import io.sarl.sre.services.logging.jul.JulLoggingService
import io.sarl.sre.services.logging.LoggingService
import io.sarl.sre.services.logging.QuietLoggingService
import org.arakhne.afc.bootique.log4j.configs.Level
import org.arakhne.afc.bootique.log4j.configs.Log4jIntegrationConfig

import static extension com.google.inject.multibindings.Multibinder.*
import javax.inject.Singleton
import io.sarl.sre.services.logging.JulLoggerCreator
import io.sarl.sre.services.logging.jul.JulLoggerCreator
import javax.inject.Provider

/**
Expand Down
Expand Up @@ -18,7 +18,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.sarl.sre.services.logging
package io.sarl.sre.services.logging.jul

import io.sarl.sre.boot.configs.SreConfig
import io.sarl.sre.boot.configs.subconfigs.LoggingConfig
Expand Down
Expand Up @@ -18,13 +18,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.sarl.sre.services.logging
package io.sarl.sre.services.logging.jul

import io.sarl.sre.services.AbstractSreService
import java.util.logging.Level
import java.util.logging.Logger
import javax.inject.Inject
import javax.inject.Singleton
import io.sarl.sre.services.logging.LoggingService

/**
* This class enables to log information by ensuring that the values of the parameters are not evaluated until the information
Expand Down
Expand Up @@ -18,7 +18,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.sarl.sre.services.logging
package io.sarl.sre.services.logging.jul

import java.io.PrintWriter
import java.io.StringWriter
Expand Down
Expand Up @@ -18,7 +18,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.sarl.sre.services.logging
package io.sarl.sre.services.logging.jul

import java.io.PrintStream
import java.util.logging.Formatter
Expand Down
Expand Up @@ -25,7 +25,7 @@ import com.google.common.util.concurrent.Service
import io.sarl.sre.boot.configs.SreConfig
import io.sarl.sre.boot.configs.subconfigs.ServicesConfig
import io.sarl.sre.services.AbstractServiceManager
import io.sarl.sre.services.logging.JulLoggerCreator
import io.sarl.sre.services.logging.jul.JulLoggerCreator
import io.sarl.sre.test.framework.^extension.PropertyRestoreExtension
import io.sarl.sre.tests.units.services.mocks.SreServ1
import io.sarl.sre.tests.units.services.mocks.SreServ1Impl
Expand Down
Expand Up @@ -24,7 +24,7 @@ package io.sarl.sre.tests.units.services
import com.google.common.util.concurrent.Service
import io.sarl.sre.boot.configs.SreConfig
import io.sarl.sre.services.GoogleServiceManager
import io.sarl.sre.services.logging.JulLoggerCreator
import io.sarl.sre.services.logging.jul.JulLoggerCreator
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Tag

Expand Down
Expand Up @@ -19,12 +19,12 @@
* limitations under the License.
*/

package io.sarl.sre.tests.units.services.logging
package io.sarl.sre.tests.units.services.logging.jul

import io.sarl.sre.boot.configs.SreConfig
import io.sarl.sre.boot.configs.subconfigs.LoggingConfig
import io.sarl.sre.boot.configs.subconfigs.ServicesConfig
import io.sarl.sre.services.logging.JulLoggerCreator
import io.sarl.sre.services.logging.jul.JulLoggerCreator
import io.sarl.sre.test.framework.^extension.PropertyRestoreExtension
import io.sarl.tests.api.Nullable
import io.sarl.tests.api.extensions.ContextInitExtension
Expand Down

0 comments on commit 4648093

Please sign in to comment.