Exemplo n.º 1
0
        public void Log(LogLevel level, string message, Dictionary <string, string> fields)
        {
            var nativeMapPtr = Convertions.DictionaryToNativeMapMem(fields);

            CBridge.ctx_log(TaskId, (int)level, message, nativeMapPtr);
            Memory.FreeNativeMap(nativeMapPtr);
        }
Exemplo n.º 2
0
 internal override void Apply(NativeModifiers nModifier)
 {
     nModifier.tagsToRemove = Convertions.DictionaryToNativeMapMem(_tags);
 }