RingJavafor Ring

java.util.logging

17 classes of the module java.logging.

Load them with:

using {
	"java.util.logging"
}

All packages

ConsoleHandler#

class · extends StreamHandler · java.util.logging.ConsoleHandler

Constructors

new ConsoleHandler()

Ring: new ConsoleHandler(args) uses the constructor with the fewest parameters (at least one); new ConsoleHandler makes the object with the constructor without parameters; the others: (new ConsoleHandler).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of StreamHandler are inherited.

ErrorManager#

class · extends Object · java.util.logging.ErrorManager

Constructors

new ErrorManager()

Ring: new ErrorManager(args) uses the constructor with the fewest parameters (at least one); new ErrorManager makes the object with the constructor without parameters; the others: (new ErrorManager).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
GENERIC_FAILUREintconstant · statico.GENERIC_FAILURE
WRITE_FAILUREintconstant · statico.WRITE_FAILURE
FLUSH_FAILUREintconstant · statico.FLUSH_FAILURE
CLOSE_FAILUREintconstant · statico.CLOSE_FAILURE
OPEN_FAILUREintconstant · statico.OPEN_FAILURE
FORMAT_FAILUREintconstant · statico.FORMAT_FAILURE

Methods

MethodRing callJava overloads
errorerror(msg,ex,code)void error(String msg, Exception ex, int code)

The methods and fields of Object are inherited.

FileHandler#

class · extends StreamHandler · java.util.logging.FileHandler

Constructors

new FileHandler()
new FileHandler(String pattern)
new FileHandler(String pattern, boolean append)
new FileHandler(String pattern, int limit, int count)
new FileHandler(String pattern, int limit, int count, boolean append)
new FileHandler(String pattern, long limit, int count, boolean append)

Ring: new FileHandler(args) uses the constructor with the fewest parameters (at least one); new FileHandler makes the object with the constructor without parameters; the others: (new FileHandler).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of StreamHandler are inherited.

Filter#

interface · java.util.logging.Filter

Methods

MethodRing callJava overloads
isLoggableisLoggable(record)boolean isLoggable(LogRecord record)

Handler#

abstract · extends Object · java.util.logging.Handler

Methods

MethodRing callJava overloads
closeclose()void close()
flushflush()void flush()
getEncodinggetEncoding()String getEncoding()
getErrorManagergetErrorManager()ErrorManager getErrorManager()
getFiltergetFilter()Filter getFilter()
getFormattergetFormatter()Formatter getFormatter()
getLevelgetLevel()Level getLevel()
isLoggableisLoggable(record)boolean isLoggable(LogRecord record)
publishpublish(record)void publish(LogRecord record)
setEncodingsetEncoding(encoding)void setEncoding(String encoding)
setErrorManagersetErrorManager(em)void setErrorManager(ErrorManager em)
setFiltersetFilter(newFilter)void setFilter(Filter newFilter)
setFormattersetFormatter(newFormatter)void setFormatter(Formatter newFormatter)
setLevelsetLevel(newLevel)void setLevel(Level newLevel)

The methods and fields of Object are inherited.

Level#

class · extends Object · java.util.logging.Level

Implements: Serializable

Fields

NameTypeAccessIn Ring
OFFLevelconstant · statico.OFF
SEVERELevelconstant · statico.SEVERE
WARNINGLevelconstant · statico.WARNING
INFOLevelconstant · statico.INFO
CONFIGLevelconstant · statico.CONFIG
FINELevelconstant · statico.FINE
FINERLevelconstant · statico.FINER
FINESTLevelconstant · statico.FINEST
ALLLevelconstant · statico.ALL

Methods

MethodRing callJava overloads
getLocalizedNamegetLocalizedName()String getLocalizedName()
getNamegetName()String getName()
getResourceBundleNamegetResourceBundleName()String getResourceBundleName()
intValueintValue()int intValue()
parseparse(name)static Level parse(String name)

The methods and fields of Object are inherited.

Logger#

class · extends Object · java.util.logging.Logger

Fields

NameTypeAccessIn Ring
GLOBAL_LOGGER_NAMEStringconstant · statico.GLOBAL_LOGGER_NAME

Methods

MethodRing callJava overloads
@getAnonymousLogger@getAnonymousLogger(resourceBundleName)static Logger getAnonymousLogger(String resourceBundleName)
addHandleraddHandler(handler)void addHandler(Handler handler)
configconfig(msg)void config(String msg)
void config(Supplier msgSupplier)
enteringentering([sourceClass,sourceMethod])
entering([ :sourceClass = v, :sourceMethod = v ])
entering([sourceClass,sourceMethod,param1])
entering([ :sourceClass = v, :sourceMethod = v, :param1 = v ])
void entering(String sourceClass, String sourceMethod)
void entering(String sourceClass, String sourceMethod, Object param1)
void entering(String sourceClass, String sourceMethod, Object[] params)
exitingexiting([sourceClass,sourceMethod])
exiting([ :sourceClass = v, :sourceMethod = v ])
exiting([sourceClass,sourceMethod,result])
exiting([ :sourceClass = v, :sourceMethod = v, :result = v ])
void exiting(String sourceClass, String sourceMethod)
void exiting(String sourceClass, String sourceMethod, Object result)
finefine(msg)void fine(String msg)
void fine(Supplier msgSupplier)
finerfiner(msgSupplier)void finer(Supplier msgSupplier)
void finer(String msg)
finestfinest(msg)void finest(String msg)
void finest(Supplier msgSupplier)
getAnonymousLoggergetAnonymousLogger()static Logger getAnonymousLogger()
getFiltergetFilter()Filter getFilter()
getGlobalgetGlobal()static Logger getGlobal()
getHandlersgetHandlers()Handler[] getHandlers()
getLevelgetLevel()Level getLevel()
getLoggergetLogger(name)
getLogger([name,resourceBundleName])
getLogger([ :name = v, :resourceBundleName = v ])
static Logger getLogger(String name)
static Logger getLogger(String name, String resourceBundleName)
getNamegetName()String getName()
getParentgetParent()Logger getParent()
getResourceBundlegetResourceBundle()ResourceBundle getResourceBundle()
getResourceBundleNamegetResourceBundleName()String getResourceBundleName()
getUseParentHandlersgetUseParentHandlers()boolean getUseParentHandlers()
infoinfo(msg)void info(String msg)
void info(Supplier msgSupplier)
isLoggableisLoggable(level)boolean isLoggable(Level level)
loglog(record)
log([level,msgSupplier])
log([ :level = v, :msgSupplier = v ])
log([level,msg,param1])
log([ :level = v, :msg = v, :param1 = v ])
void log(LogRecord record)
void log(Level level, Supplier msgSupplier)
void log(Level level, String msg)
void log(Level level, String msg, Object param1)
void log(Level level, Throwable thrown, Supplier msgSupplier)
void log(Level level, String msg, Throwable thrown)
void log(Level level, String msg, Object[] params)
logplogp([level,sourceClass,sourceMethod,msg])
logp([ :level = v, :sourceClass = v, :sourceMethod = v, :msg = v ])
logp([level,sourceClass,sourceMethod,msg,params])
logp([ :level = v, :sourceClass = v, :sourceMethod = v, :msg = v, :params = v ])
void logp(Level level, String sourceClass, String sourceMethod, String msg)
void logp(Level level, String sourceClass, String sourceMethod, Supplier msgSupplier)
void logp(Level level, String sourceClass, String sourceMethod, String msg, Object[] params)
void logp(Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown)
void logp(Level level, String sourceClass, String sourceMethod, Throwable thrown, Supplier msgSupplier)
void logp(Level level, String sourceClass, String sourceMethod, String msg, Object param1)
logrblogrb([level,bundle,msg,params])
logrb([ :level = v, :bundle = v, :msg = v, :params = v ])
logrb([level,sourceClass,sourceMethod,bundleName,msg])
logrb([ :level = v, :sourceClass = v, :sourceMethod = v, :bundleName = v, :msg = v ])
logrb([level,sourceClass,sourceMethod,bundle,msg,params])
logrb([ :level = v, :sourceClass = v, :sourceMethod = v, :bundle = v, :msg = v, :params = v ])
void logrb(Level level, ResourceBundle bundle, String msg, Object[] params)
void logrb(Level level, ResourceBundle bundle, String msg, Throwable thrown)
void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg)
void logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object[] params)
void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)
void logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)
void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1)
void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params)
removeHandlerremoveHandler(handler)void removeHandler(Handler handler)
setFiltersetFilter(newFilter)void setFilter(Filter newFilter)
setLevelsetLevel(newLevel)void setLevel(Level newLevel)
setParentsetParent(parent)void setParent(Logger parent)
setResourceBundlesetResourceBundle(bundle)void setResourceBundle(ResourceBundle bundle)
setUseParentHandlerssetUseParentHandlers(useParentHandlers)void setUseParentHandlers(boolean useParentHandlers)
severesevere(msgSupplier)void severe(Supplier msgSupplier)
void severe(String msg)
throwingthrowing(sourceClass,sourceMethod,thrown)void throwing(String sourceClass, String sourceMethod, Throwable thrown)
warningwarning(msgSupplier)void warning(Supplier msgSupplier)
void warning(String msg)

The methods and fields of Object are inherited.

LoggingFormatter#

abstract · extends Object · java.util.logging.Formatter

Methods

MethodRing callJava overloads
formatformat(record)String format(LogRecord record)
formatMessageformatMessage(record)String formatMessage(LogRecord record)
getHeadgetHead(h)String getHead(Handler h)
getTailgetTail(h)String getTail(Handler h)

The methods and fields of Object are inherited.

LoggingMXBean#

interface · java.util.logging.LoggingMXBean

Methods

MethodRing callJava overloads
getLoggerLevelgetLoggerLevel(loggerName)String getLoggerLevel(String loggerName)
getLoggerNamesgetLoggerNames()List getLoggerNames()
getParentLoggerNamegetParentLoggerName(loggerName)String getParentLoggerName(String loggerName)
setLoggerLevelsetLoggerLevel(loggerName,levelName)void setLoggerLevel(String loggerName, String levelName)

LoggingPermission#

class final · extends BasicPermission · java.util.logging.LoggingPermission

Constructors

new LoggingPermission(String name, String actions)

Ring: new LoggingPermission(args) uses the constructor with the fewest parameters (at least one); new LoggingPermission makes the object with the constructor without parameters; the others: (new LoggingPermission).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of BasicPermission are inherited.

LogManager#

class · extends Object · java.util.logging.LogManager

Fields

NameTypeAccessIn Ring
LOGGING_MXBEAN_NAMEStringconstant · statico.LOGGING_MXBEAN_NAME

Methods

MethodRing callJava overloads
@readConfiguration@readConfiguration(ins)void readConfiguration(InputStream ins)
addConfigurationListeneraddConfigurationListener(listener)LogManager addConfigurationListener(Runnable listener)
addLoggeraddLogger(logger)boolean addLogger(Logger logger)
checkAccesscheckAccess()void checkAccess()
getLoggergetLogger(name)Logger getLogger(String name)
getLoggerNamesgetLoggerNames()Enumeration getLoggerNames()
getLoggingMXBeangetLoggingMXBean()static LoggingMXBean getLoggingMXBean()
getLogManagergetLogManager()static LogManager getLogManager()
getPropertygetProperty(name)String getProperty(String name)
readConfigurationreadConfiguration()void readConfiguration()
removeConfigurationListenerremoveConfigurationListener(listener)void removeConfigurationListener(Runnable listener)
resetreset()void reset()
updateConfigurationupdateConfiguration(mapper)
updateConfiguration([ins,mapper])
updateConfiguration([ :ins = v, :mapper = v ])
void updateConfiguration(Function mapper)
void updateConfiguration(InputStream ins, Function mapper)

The methods and fields of Object are inherited.

LogRecord#

class · extends Object · java.util.logging.LogRecord

Implements: Serializable

Constructors

new LogRecord(Level level, String msg)

Ring: new LogRecord(args) uses the constructor with the fewest parameters (at least one); new LogRecord makes the object with the constructor without parameters; the others: (new LogRecord).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getInstantgetInstant()Instant getInstant()
getLevelgetLevel()Level getLevel()
getLoggerNamegetLoggerName()String getLoggerName()
getLongThreadIDgetLongThreadID()long getLongThreadID()
getMessagegetMessage()String getMessage()
getMillisgetMillis()long getMillis()
getParametersgetParameters()Object[] getParameters()
getResourceBundlegetResourceBundle()ResourceBundle getResourceBundle()
getResourceBundleNamegetResourceBundleName()String getResourceBundleName()
getSequenceNumbergetSequenceNumber()long getSequenceNumber()
getSourceClassNamegetSourceClassName()String getSourceClassName()
getSourceMethodNamegetSourceMethodName()String getSourceMethodName()
getThreadIDgetThreadID()int getThreadID()
getThrowngetThrown()Throwable getThrown()
setInstantsetInstant(instant)void setInstant(Instant instant)
setLevelsetLevel(level)void setLevel(Level level)
setLoggerNamesetLoggerName(name)void setLoggerName(String name)
setLongThreadIDsetLongThreadID(longThreadID)LogRecord setLongThreadID(long longThreadID)
setMessagesetMessage(message)void setMessage(String message)
setMillissetMillis(millis)void setMillis(long millis)
setParameterssetParameters(parameters)void setParameters(Object[] parameters)
setResourceBundlesetResourceBundle(bundle)void setResourceBundle(ResourceBundle bundle)
setResourceBundleNamesetResourceBundleName(name)void setResourceBundleName(String name)
setSequenceNumbersetSequenceNumber(seq)void setSequenceNumber(long seq)
setSourceClassNamesetSourceClassName(sourceClassName)void setSourceClassName(String sourceClassName)
setSourceMethodNamesetSourceMethodName(sourceMethodName)void setSourceMethodName(String sourceMethodName)
setThreadIDsetThreadID(threadID)void setThreadID(int threadID)
setThrownsetThrown(thrown)void setThrown(Throwable thrown)

The methods and fields of Object are inherited.

MemoryHandler#

class · extends Handler · java.util.logging.MemoryHandler

Constructors

new MemoryHandler()
new MemoryHandler(Handler target, int size, Level pushLevel)

Ring: new MemoryHandler(args) uses the constructor with the fewest parameters (at least one); new MemoryHandler makes the object with the constructor without parameters; the others: (new MemoryHandler).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getPushLevelgetPushLevel()Level getPushLevel()
pushpush()void push()
setPushLevelsetPushLevel(newLevel)void setPushLevel(Level newLevel)

The methods and fields of Handler are inherited.

SimpleFormatter#

class · extends LoggingFormatter · java.util.logging.SimpleFormatter

Constructors

new SimpleFormatter()

Ring: new SimpleFormatter(args) uses the constructor with the fewest parameters (at least one); new SimpleFormatter makes the object with the constructor without parameters; the others: (new SimpleFormatter).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of LoggingFormatter are inherited.

SocketHandler#

class · extends StreamHandler · java.util.logging.SocketHandler

Constructors

new SocketHandler()
new SocketHandler(String host, int port)

Ring: new SocketHandler(args) uses the constructor with the fewest parameters (at least one); new SocketHandler makes the object with the constructor without parameters; the others: (new SocketHandler).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of StreamHandler are inherited.

StreamHandler#

class · extends Handler · java.util.logging.StreamHandler

Constructors

new StreamHandler()
new StreamHandler(OutputStream out, Formatter formatter)

Ring: new StreamHandler(args) uses the constructor with the fewest parameters (at least one); new StreamHandler makes the object with the constructor without parameters; the others: (new StreamHandler).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Handler are inherited.

XMLFormatter#

class · extends LoggingFormatter · java.util.logging.XMLFormatter

Constructors

new XMLFormatter()

Ring: new XMLFormatter(args) uses the constructor with the fewest parameters (at least one); new XMLFormatter makes the object with the constructor without parameters; the others: (new XMLFormatter).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of LoggingFormatter are inherited.

RingJava - use Java classes and methods from Ring programs.