]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.init/src/org/argeo/init/logging/ThinJavaUtilLogging.java
1 package org
.argeo
.init
.logging
;
3 import java
.util
.logging
.LogManager
;
4 import java
.util
.logging
.Logger
;
7 * Fallback wrapper around the java.util.logging framework, when thinb logging
8 * could not be instantiated directly.
10 class ThinJavaUtilLogging
{
11 public static void init() {
12 LogManager logManager
= LogManager
.getLogManager();
14 Logger rootLogger
= logManager
.getLogger("");
15 rootLogger
.addHandler(new ThinHandler());
16 rootLogger
.setLevel(java
.util
.logging
.Level
.INFO
);