Permalink
Browse files

Remove curring and overloads

  • Loading branch information...
1 parent 6978ab7 commit 2e2dfe3b54611329ca1b1089bb5cf2e750830c0f @robertpi committed Jun 3, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/log4f/LogManager.fs
View
@@ -13,11 +13,11 @@ type Logger(logger: ILog) =
member __.Debug x = Printf.kprintf logger.Debug x
member __.Info x = Printf.kprintf logger.Info x
member __.Warn x = Printf.kprintf logger.Warn x
- member __.Warn (ex: Exception) x = Printf.kprintf (fun x -> logger.Warn(x, ex)) x
+ member __.Warn ((ex: Exception), x) = Printf.kprintf (fun x -> logger.Warn(x, ex)) x
member __.Error x = Printf.kprintf logger.Error x
- member __.Error (ex: Exception) x = Printf.kprintf (fun x -> logger.Error(x, ex)) x
+ member __.Error ((ex: Exception), x) = Printf.kprintf (fun x -> logger.Error(x, ex)) x
member __.Fatal x = Printf.kprintf logger.Fatal x
- member __.Fatal (ex: Exception) x = Printf.kprintf (fun x -> logger.Fatal(x, ex)) x
+ member __.Fatal ((ex: Exception), x) = Printf.kprintf (fun x -> logger.Fatal(x, ex)) x
module LogManager =

0 comments on commit 2e2dfe3

Please sign in to comment.