example @logger.* decorator usages
@logger.logClass()
export class SimplestExample {
//all methods except those matching ignorePattern will get wrapped with trace style logging
...
}
@logger.logClass()
export class LoginService {
example @logger.* decorator usages
@logger.logClass()
export class SimplestExample {
//all methods except those matching ignorePattern will get wrapped with trace style logging
...
}
@logger.logClass()
export class LoginService {
using System; | |
using System.Collections.Concurrent; | |
namespace ns | |
{ | |
//even though this looks like it only takes functions with one input | |
// by using C# tuple types, one can have any number of inputs (or outputs) | |
// see example below | |
public class Memoized<T, TResult> | |
{ |