6 namespace org { namespace ldk { namespace structs {
10 * A Record, unit of logging output with Metadata to enable filtering
11 * Module_path, file, line to inform on log's source
13 public class Record : CommonBase {
14 internal Record(object _dummy, long ptr) : base(ptr) { }
16 if (ptr != 0) { bindings.Record_free(ptr); }
20 * The verbosity level of the message.
22 public Level get_level() {
23 Level ret = bindings.Record_get_level(this.ptr);
29 * The verbosity level of the message.
31 public void set_level(Level val) {
32 bindings.Record_set_level(this.ptr, val);
40 public string get_args() {
41 string ret = bindings.Record_get_args(this.ptr);
49 public void set_args(string val) {
50 bindings.Record_set_args(this.ptr, val);
56 * The module path of the message.
58 public string get_module_path() {
59 string ret = bindings.Record_get_module_path(this.ptr);
65 * The module path of the message.
67 public void set_module_path(string val) {
68 bindings.Record_set_module_path(this.ptr, val);
74 * The source file containing the message.
76 public string get_file() {
77 string ret = bindings.Record_get_file(this.ptr);
83 * The source file containing the message.
85 public void set_file(string val) {
86 bindings.Record_set_file(this.ptr, val);
92 * The line containing the message.
94 public int get_line() {
95 int ret = bindings.Record_get_line(this.ptr);
101 * The line containing the message.
103 public void set_line(int val) {
104 bindings.Record_set_line(this.ptr, val);
109 internal long clone_ptr() {
110 long ret = bindings.Record_clone_ptr(this.ptr);
116 * Creates a copy of the Record
118 public Record clone() {
119 long ret = bindings.Record_clone(this.ptr);
121 if (ret >= 0 && ret <= 4096) { return null; }
122 org.ldk.structs.Record ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.Record(null, ret); }
123 if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(this); };