Class Logger
public class Logger : JVMBridgeBase<Logger>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Logger>Logger
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Logger>.IsAssignableFrom(IJavaType)JVMBridgeBase<Logger>.IsAssignableFrom<T>()JVMBridgeBase<Logger>.Execute<T>(params T[])JVMBridgeBase<Logger>.DynBridgeClazzJVMBridgeBase<Logger>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Logger()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Logger()
Logger(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Logger(params object[] args)
Parameters
args
object[]
Properties
AnonymousLogger
public static Logger AnonymousLogger { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Filter
https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#getFilter() https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#setFilter(java.util.logging.Filter)
public Filter Filter { get; set; }
Property Value
GLOBAL_LOGGER_NAME
public static String GLOBAL_LOGGER_NAME { get; }
Property Value
Global
public static Logger Global { get; }
Property Value
Handlers
public Handler[] Handlers { get; }
Property Value
- Handler[]
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Level
https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#getLevel() https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#setLevel(java.util.logging.Level)
public Level Level { get; set; }
Property Value
Name
public String Name { get; }
Property Value
Parent
https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#getParent() https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#setParent(java.util.logging.Logger)
public Logger Parent { get; set; }
Property Value
ResourceBundle
https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#getResourceBundle() https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#setResourceBundle(java.util.ResourceBundle)
public ResourceBundle ResourceBundle { get; set; }
Property Value
ResourceBundleName
public String ResourceBundleName { get; }
Property Value
UseParentHandlers
https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#getUseParentHandlers() https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Logger.html#setUseParentHandlers(boolean)
public bool UseParentHandlers { get; set; }
Property Value
Methods
AddHandler(Handler)
public void AddHandler(Handler arg0)
Parameters
Exceptions
Config(String)
public void Config(String arg0)
Parameters
Config(Supplier<String>)
public void Config(Supplier<String> arg0)
Parameters
Entering(String, String)
public void Entering(String arg0, String arg1)
Parameters
Entering(String, String, object)
public void Entering(String arg0, String arg1, object arg2)
Parameters
Entering(String, String, object[])
public void Entering(String arg0, String arg1, object[] arg2)
Parameters
Exiting(String, String)
public void Exiting(String arg0, String arg1)
Parameters
Exiting(String, String, object)
public void Exiting(String arg0, String arg1, object arg2)
Parameters
Fine(String)
public void Fine(String arg0)
Parameters
Fine(Supplier<String>)
public void Fine(Supplier<String> arg0)
Parameters
Finer(String)
public void Finer(String arg0)
Parameters
Finer(Supplier<String>)
public void Finer(Supplier<String> arg0)
Parameters
Finest(String)
public void Finest(String arg0)
Parameters
Finest(Supplier<String>)
public void Finest(Supplier<String> arg0)
Parameters
GetAnonymousLogger(String)
public static Logger GetAnonymousLogger(String arg0)
Parameters
Returns
GetLogger(String)
public static Logger GetLogger(String arg0)
Parameters
Returns
GetLogger(String, String)
public static Logger GetLogger(String arg0, String arg1)
Parameters
Returns
Info(String)
public void Info(String arg0)
Parameters
Info(Supplier<String>)
public void Info(Supplier<String> arg0)
Parameters
IsLoggable(Level)
public bool IsLoggable(Level arg0)
Parameters
Returns
Log(Level, String)
public void Log(Level arg0, String arg1)
Parameters
Log(Level, String, JVMBridgeException)
public void Log(Level arg0, String arg1, JVMBridgeException arg2)
Parameters
Log(Level, String, object)
public void Log(Level arg0, String arg1, object arg2)
Parameters
Log(Level, String, object[])
public void Log(Level arg0, String arg1, object[] arg2)
Parameters
Log(Level, Supplier<String>)
public void Log(Level arg0, Supplier<String> arg1)
Parameters
Log(Level, JVMBridgeException, Supplier<String>)
public void Log(Level arg0, JVMBridgeException arg1, Supplier<String> arg2)
Parameters
Log(LogRecord)
public void Log(LogRecord arg0)
Parameters
Logp(Level, String, String, String)
public void Logp(Level arg0, String arg1, String arg2, String arg3)
Parameters
Logp(Level, String, String, String, JVMBridgeException)
public void Logp(Level arg0, String arg1, String arg2, String arg3, JVMBridgeException arg4)
Parameters
Logp(Level, String, String, String, object)
public void Logp(Level arg0, String arg1, String arg2, String arg3, object arg4)
Parameters
Logp(Level, String, String, String, object[])
public void Logp(Level arg0, String arg1, String arg2, String arg3, object[] arg4)
Parameters
Logp(Level, String, String, Supplier<String>)
public void Logp(Level arg0, String arg1, String arg2, Supplier<String> arg3)
Parameters
Logp(Level, String, String, JVMBridgeException, Supplier<String>)
public void Logp(Level arg0, String arg1, String arg2, JVMBridgeException arg3, Supplier<String> arg4)
Parameters
Logrb(Level, String, String, ResourceBundle, String, JVMBridgeException)
public void Logrb(Level arg0, String arg1, String arg2, ResourceBundle arg3, String arg4, JVMBridgeException arg5)
Parameters
arg0
Levelarg1
Stringarg2
Stringarg3
ResourceBundlearg4
Stringarg5
JVMBridgeException
Logrb(Level, String, String, ResourceBundle, String, params object[])
public void Logrb(Level arg0, String arg1, String arg2, ResourceBundle arg3, String arg4, params object[] arg5)
Parameters
Logrb(Level, ResourceBundle, String, JVMBridgeException)
public void Logrb(Level arg0, ResourceBundle arg1, String arg2, JVMBridgeException arg3)
Parameters
arg0
Levelarg1
ResourceBundlearg2
Stringarg3
JVMBridgeException
Logrb(Level, ResourceBundle, String, params object[])
public void Logrb(Level arg0, ResourceBundle arg1, String arg2, params object[] arg3)
Parameters
arg0
Levelarg1
ResourceBundlearg2
Stringarg3
object[]
RemoveHandler(Handler)
public void RemoveHandler(Handler arg0)
Parameters
Exceptions
Severe(String)
public void Severe(String arg0)
Parameters
Severe(Supplier<String>)
public void Severe(Supplier<String> arg0)
Parameters
Throwing(String, String, JVMBridgeException)
public void Throwing(String arg0, String arg1, JVMBridgeException arg2)
Parameters
Warning(String)
public void Warning(String arg0)
Parameters
Warning(Supplier<String>)
public void Warning(Supplier<String> arg0)