theKernel 10.0
Loading...
Searching...
No Matches
jvmkkernel.MkLogFileC Class Reference

MkLogFileC - the class known as lfl or log-file is used to control the target of the logging-outputMore...

+ Inheritance diagram for jvmkkernel.MkLogFileC:
+ Collaboration diagram for jvmkkernel.MkLogFileC:

Public Member Functions

native MkLogFileC Next ()
  Java: MkLogFileC lfl.Next() C-API
get next instance from linked-list of MkLogFileS type
 
native MkLogFileC Prev ()
  Java: MkLogFileC lfl.Prev() C-API
get previous instance from linked-list of MkLogFileS type
 
 MkLogFileC (MkObjectC fmtobj, String file)
  Java: [constructor,static] MkLogFileC MkLogFileC.Open(?MkObjectC fmtobj = null?, String file) C-API
open the log-file in append mode …
 
native void WriteC (String text)
  Java: lfl.WriteC(String text) C-API
write to log-file
 
native String GetFile ()
  Java: String lfl.GetFile() C-API
get the log-file
 
- Public Member Functions inherited from jvmkkernel.MkObjectC
void close ()
 
String toString ()
 
native void HandleDelete ()
  Java: netObj.HandleDelete() C-API
Handle-Delete-Slot - delete a netObj from handle-storage …
 
native boolean HandleExists ()
  Java: boolean obj.HandleExists() C-API
check if obj has already a handle defined…
 
native int HandleGet ()
  Java: int obj.HandleGet() C-API
Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage
 
native int HandleGetOfType ()
  Java: int obj.HandleGetOfType() C-API
Export-Slot - returns typeHdl of the obj .
 
native int HandleGetOr0 ()
  Java: int obj.HandleGetOr0() C-API
return export-hdl or 0 in not created…
 
native void DbgDump (String message, String callfunc)
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
void DbgDump ()
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
void DbgDump (String message)
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
native void DbgL (String message, int debug, String callfunc, int lvl)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message, int debug)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message, int debug, String callfunc)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
native void DbgLogC (String callfunc)
  Java: obj.DbgLogC(?String callfunc = null?) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
void DbgLogC ()
  Java: obj.DbgLogC(?String callfunc = null?) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
native void DbgO (String callfunc)
  Java: obj.DbgO(?String callfunc = null?) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
void DbgO ()
  Java: obj.DbgO(?String callfunc = null?) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
native void DbgSTACK (int skip, int num, String callfunc)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK ()
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK (int skip)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK (int skip, int num)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
native void LogC (String message, int debug, String callfunc)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
void LogC (String message)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
void LogC (String message, int debug)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
native void LogHEX (String callfunc, byte[] data)
  Java: fmtobj.LogHEX(?String callfunc = null?, byte[] data) C-API
log binaray data as HEX into the MkLogFileC (default: stderr) …
 
native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
native void LogLong (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong ()
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj, int debug)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
native void LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort ()
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj, int debug)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
native void LogType (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType ()
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj, int debug)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void Log ()
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj, int debug)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
native MkErrorC ErrorCatch (Throwable exception, String callfunc)
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
MkErrorC ErrorCatch ()
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
MkErrorC ErrorCatch (Throwable exception)
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
native MkErrorC ToError ()
  Java: MkErrorC obj.ToError() C-API
Error-Slot - return an error-object pre initialized with obj data.
 
native boolean IsNull ()
  Java: boolean obj.IsNull() C-API
ckeck if the object is null
 
native String ToName ()
  Java: String obj.ToName() C-API
Info-Slot - returns brief information about the obj as a string
 
native String ToNameOfClass ()
  Java: String obj.ToNameOfClass() C-API
Class-Slot - returns the Java-Class-Name of the obj as string
 
native String ToNameOfType ()
  Java: String obj.ToNameOfType() C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string
 
native String ToString ()
  Java: String inst.ToString() C-API
String-Slot - returns the string representation of the inst
 
native int RefGet ()
 MkRefGet
 
native void SysKill (int pid, int signal)
 MkSysKill
 
native int SysGetPid ()
 MkSysGetPid
 
native void Dispose ()
  Java: [destructor] obj.Dispose() C-API
Dispose-Slot - untie the connection between the Native-Java-Instance and the jvmkkernel-Instance.
 
native void Delete ()
  Java: [destructor] obj.Delete() C-API
Delete-Slot - delete an instance.
 
void printP ()
 
void L0 ()
 
void L1 ()
 
void L2 ()
 
void L3 ()
 
void L4 ()
 
void L5 ()
 
void L6 ()
 
void L7 ()
 
void L8 ()
 
void L9 ()
 
void LA ()
 
void LB ()
 
void LE ()
 
void printL (String name, Object val)
 

Static Public Member Functions

static native MkLogFileC HandleResolve (int netHdl)
  Java: [static] MkLogFileC MkLogFileC.HandleResolve(int netHdl) C-API
Handle-Resolve-Slot - return a MkLogFileC from netHdl or null if invalid…
 
static native MkLogFileC Instances ()
  Java: [static] MkLogFileC MkLogFileC.Instances() C-API
get head-instance from linked-list of MkLogFileS type …
 
static native MkLogFileC GetNull ()
  Java: [static] MkLogFileC MkLogFileC.GetNull() C-API
Null-Slot - return a MkLogFileC typed NULL instance …
 
static native MkLogFileC Open (MkObjectC fmtobj, String file)
  Java: [constructor,static] MkLogFileC MkLogFileC.Open(?MkObjectC fmtobj = null?, String file) C-API
open the log-file in append mode …
 
- Static Public Member Functions inherited from jvmkkernel.MkObjectC
static native void HandleDeleteByNetHdl (int netHdl)
  Java: [static] MkObjectC.HandleDeleteByNetHdl(int netHdl) C-API
Handle-Delete-Slot - delete a netHdl from handle-storage …
 
static native void DbgM (String message, int debug, String callfunc, int lvl)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message, int debug)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message, int debug, String callfunc)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static native int SysHashI32 (String key, int length)
 MkSysHashI32
 
static int SysHashI32 (String key)
 MkSysHashI32
 
static native String SysHashSTR (String key, int length)
 MkSysHashSTR
 
static String SysHashSTR (String key)
 MkSysHashSTR
 
static native void DeleteCallbackCleanup (String ident)
  Java: [static] MkObjectC.DeleteCallbackCleanup(String ident) C-API
cleanup the DeleteCallback installed with MkObjectDeleteCallbackSetup
 
static native void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback, String filter)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static void DeleteCallbackSetup (String ident)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static int getPId ()
 
static long getTId ()
 
static String getCallerProc (int level)
 
static String getCallerProc ()
 
static String getStackTrace (int level)
 
static String getStackTrace ()
 
static int getCallerLine (int level)
 
static int getCallerLine ()
 
static String getCallerFile (int level)
 
static String getCallerFile ()
 
static void SF (String msg, String name, int framelvl)
 
static void SF (String msg)
 
static void SF (String msg, String name)
 
static void printP (long ptr, String name, int framelvl)
 
static void printO (byte byt, String name, int framelvl)
 
static void printBool (boolean bol, String name, int framelvl)
 
static void printObj (Object id, String caller, int framelvl)
 
static void printObj (Object id, String caller)
 
static void printObj (Object id)
 
static void printC (String id, String name, int framelvl)
 
static void printC (String id)
 
static void printTyp (MkObjectC id, String name, int framelvl)
 
static void printStack (String name, int framelvl)
 
static void M0 ()
 
static void M1 ()
 
static void M2 ()
 
static void M3 ()
 
static void M4 ()
 
static void M5 ()
 
static void M6 ()
 
static void M7 ()
 
static void M8 ()
 
static void M9 ()
 
static void MA ()
 
static void MB ()
 
static void MC ()
 
static void MD ()
 
static void ME ()
 

Additional Inherited Members

- Protected Member Functions inherited from jvmkkernel.MkObjectC
 MkObjectC (long mng, boolean dummy)
 This contructor is used internal to create an java-object for an already existing libmqmsgque-object.
 
void Dispose (boolean disposing)
 
- Static Package Functions inherited from jvmkkernel.MkObjectC

Detailed Description

MkLogFileC - the class known as lfl or log-file is used to control the target of the logging-output

The logging-target is set direct by RuntimeLogTargetSet or using the class MkLogFileC.

The target is stored at the MkRuntimeC using a FILE-stream and can be set individually for each thread. The default is stderr.

possible values are:

value decription OS man-page
stdout the standart output stdio(3)
stderr the standart error output stdio(3)
fileName an arbitary fileName fopen(3)

Definition at line 18 of file MkLogFileC.java.


The documentation for this class was generated from the following file: