theKernel 10.0
|
MkLogFileC - the class known as lfl or log-file is used to control the target of the logging-output … More...
Public Member Functions | |
native MkLogFileC | Next () |
Java: → C-API get next instance from linked-list of MkLogFileS type | |
native MkLogFileC | Prev () |
Java: → C-API get previous instance from linked-list of MkLogFileS type | |
MkLogFileC (MkObjectC fmtobj, String file) | |
Java: → C-API open the log-file in append mode … | |
native void | WriteC (String text) |
Java: → C-API write to log-file … | |
native String | GetFile () |
Java: → C-API get the log-file … | |
![]() | |
void | close () |
String | toString () |
native void | HandleDelete () |
Java: → C-API Handle-Delete-Slot - delete a netObj from handle-storage … | |
native boolean | HandleExists () |
Java: → C-API check if obj has already a handle defined… | |
native int | HandleGet () |
Java: → C-API Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage | |
native int | HandleGetOfType () |
Java: → C-API Export-Slot - returns typeHdl of the obj . | |
native int | HandleGetOr0 () |
Java: → C-API return export-hdl or 0 in not created… | |
native void | DbgDump (String message, String callfunc) |
Java: → C-API debug: Dump a instance to stderr with LNG and MQ internal data… | |
void | DbgDump () |
Java: → C-API debug: Dump a instance to stderr with LNG and MQ internal data… | |
void | DbgDump (String message) |
Java: → 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: → C-API debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix … | |
void | DbgL (String message) |
Java: → C-API debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix … | |
void | DbgL (String message, int debug) |
Java: → 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: → C-API debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix … | |
native void | DbgLogC (String callfunc) |
Java: → C-API debug: write a short-obj-summary to MkLogFileC (default: stderr) … | |
void | DbgLogC () |
Java: → C-API debug: write a short-obj-summary to MkLogFileC (default: stderr) … | |
native void | DbgO (String callfunc) |
Java: → C-API debug: write the object-details to MkLogFileC (default: stderr) … | |
void | DbgO () |
Java: → C-API debug: write the object-details to MkLogFileC (default: stderr) … | |
native void | DbgSTACK (int skip, int num, String callfunc) |
Java: → C-API debug: write the stack-trace to MkLogFileC (default: stderr) … | |
void | DbgSTACK () |
Java: → C-API debug: write the stack-trace to MkLogFileC (default: stderr) … | |
void | DbgSTACK (int skip) |
Java: → C-API debug: write the stack-trace to MkLogFileC (default: stderr) … | |
void | DbgSTACK (int skip, int num) |
Java: → C-API debug: write the stack-trace to MkLogFileC (default: stderr) … | |
native void | LogC (String message, int debug, String callfunc) |
Java: → C-API write a logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogC (String message) |
Java: → C-API write a logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogC (String message, int debug) |
Java: → C-API write a logging-message to MkLogFileC (default: stderr) using the internal format … | |
native void | LogHEX (String callfunc, byte[] data) |
Java: → C-API log binaray data as HEX into the MkLogFileC (default: stderr) … | |
native void | Log (MkObjectC fmtobj, int debug, String callfunc, int lvl) |
Java: → 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: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogLong () |
Java: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogLong (MkObjectC fmtobj) |
Java: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogLong (MkObjectC fmtobj, int debug) |
Java: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogLong (MkObjectC fmtobj, int debug, String callfunc) |
Java: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
native void | LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl) |
Java: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogShort () |
Java: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogShort (MkObjectC fmtobj) |
Java: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogShort (MkObjectC fmtobj, int debug) |
Java: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogShort (MkObjectC fmtobj, int debug, String callfunc) |
Java: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
native void | LogType (MkObjectC fmtobj, int debug, String callfunc, int lvl) |
Java: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType () |
Java: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType (MkObjectC fmtobj) |
Java: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType (MkObjectC fmtobj, int debug) |
Java: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType (MkObjectC fmtobj, int debug, String callfunc) |
Java: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
void | Log () |
Java: → C-API Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target … | |
void | Log (MkObjectC fmtobj) |
Java: → C-API Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target … | |
void | Log (MkObjectC fmtobj, int debug) |
Java: → 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: → C-API Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target … | |
native MkErrorC | ErrorCatch (Throwable exception, String callfunc) |
Java: → C-API convert a programming-language-error into an jvmkkernel error … | |
MkErrorC | ErrorCatch () |
Java: → C-API convert a programming-language-error into an jvmkkernel error … | |
MkErrorC | ErrorCatch (Throwable exception) |
Java: → C-API convert a programming-language-error into an jvmkkernel error … | |
native MkErrorC | ToError () |
Java: → C-API Error-Slot - return an error-object pre initialized with obj data. | |
native boolean | IsNull () |
Java: → C-API ckeck if the object is null | |
native String | ToName () |
Java: → C-API Info-Slot - returns brief information about the obj as a string | |
native String | ToNameOfClass () |
Java: → C-API Class-Slot - returns the Java-Class-Name of the obj as string | |
native String | ToNameOfType () |
Java: → C-API Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string | |
native String | ToString () |
Java: → 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: → C-API Dispose-Slot - untie the connection between the Native-Java-Instance and the jvmkkernel-Instance. | |
native void | Delete () |
Java: → 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: → C-API Handle-Resolve-Slot - return a MkLogFileC from netHdl or null if invalid… | |
static native MkLogFileC | Instances () |
Java: → C-API get head-instance from linked-list of MkLogFileS type … | |
static native MkLogFileC | GetNull () |
Java: → C-API Null-Slot - return a MkLogFileC typed NULL instance … | |
static native MkLogFileC | Open (MkObjectC fmtobj, String file) |
Java: → C-API open the log-file in append mode … | |
![]() | |
static native void | HandleDeleteByNetHdl (int netHdl) |
Java: → C-API Handle-Delete-Slot - delete a netHdl from handle-storage … | |
static native void | DbgM (String message, int debug, String callfunc, int lvl) |
Java: → C-API debug: write a static-marker to the MkLogFileC (default: stderr) … | |
static void | DbgM (String message) |
Java: → C-API debug: write a static-marker to the MkLogFileC (default: stderr) … | |
static void | DbgM (String message, int debug) |
Java: → C-API debug: write a static-marker to the MkLogFileC (default: stderr) … | |
static void | DbgM (String message, int debug, String callfunc) |
Java: → 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: → C-API cleanup the DeleteCallback installed with MkObjectDeleteCallbackSetup … | |
static native void | DeleteCallbackSetup (String ident, MkObjectDeleteIF callback, String filter) |
Java: → C-API Create/Delete the instance-delete-callback … | |
static void | DeleteCallbackSetup (String ident) |
Java: → C-API Create/Delete the instance-delete-callback … | |
static void | DeleteCallbackSetup (String ident, MkObjectDeleteIF callback) |
Java: → 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 | |
![]() | |
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) |
![]() |
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.