mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 02:04:13 +00:00
FS-4861 improve logging when using c++ wrapper
This commit is contained in:
1 parent
9a4e29d785
commit
a99df48984
5 files changed
+68
-3
No files matched your search
@@ -6859,6 +6859,10 @@ public class freeswitch {
|
||||
freeswitchPINVOKE.consoleCleanLog(msg);
|
||||
}
|
||||
|
||||
public static void consoleChannelLog(string level_str, string file, string func, int line, string msg) {
|
||||
freeswitchPINVOKE.consoleChannelLog(level_str, file, func, line, msg);
|
||||
}
|
||||
|
||||
public static bool running() {
|
||||
bool ret = freeswitchPINVOKE.running();
|
||||
return ret;
|
||||
@@ -6877,6 +6881,10 @@ public class freeswitch {
|
||||
freeswitchPINVOKE.console_clean_log(msg);
|
||||
}
|
||||
|
||||
public static void console_channel_log(string level_str, string file, string func, int line, string msg) {
|
||||
freeswitchPINVOKE.console_channel_log(level_str, file, func, line, msg);
|
||||
}
|
||||
|
||||
public static void msleep(uint ms) {
|
||||
freeswitchPINVOKE.msleep(ms);
|
||||
}
|
||||
@@ -17392,6 +17400,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_consoleCleanLog")]
|
||||
public static extern void consoleCleanLog(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_consoleChannelLog")]
|
||||
public static extern void consoleChannelLog(string jarg1, string jarg2, string jarg3, int jarg4, string jarg5);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_running")]
|
||||
public static extern bool running();
|
||||
|
||||
@@ -17812,6 +17823,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_console_clean_log")]
|
||||
public static extern void console_clean_log(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_console_channel_log")]
|
||||
public static extern void console_channel_log(string jarg1, string jarg2, string jarg3, int jarg4, string jarg5);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_msleep")]
|
||||
public static extern void msleep(uint jarg1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user