public WorkerLogger(string categoryName, IFunctionTraceWriterFactory traceWriterFactory, Func <string, LogLevel, bool> filter)
        {
            _categoryName       = categoryName;
            _filter             = filter;
            _traceWriterFactory = traceWriterFactory;
            var parts = categoryName.Split('.');

            _language = parts[1];
            _workerId = parts[2];
        }
Exemplo n.º 2
0
 public FileLoggerProvider(IFunctionTraceWriterFactory traceWriterFactory, Func <string, LogLevel, bool> filter)
 {
     _traceWriterFactory = traceWriterFactory;
     _filter             = filter;
 }
 public FunctionLogger(string categoryName, IFunctionTraceWriterFactory traceWriterFactory, Func <string, LogLevel, bool> filter)
 {
     _categoryName       = categoryName;
     _filter             = filter;
     _traceWriterFactory = traceWriterFactory;
 }