diff options
Diffstat (limited to 'lib/infrastructure/logging/Log.cs')
| -rw-r--r-- | lib/infrastructure/logging/Log.cs | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/lib/infrastructure/logging/Log.cs b/lib/infrastructure/logging/Log.cs index c680358..19d6626 100644 --- a/lib/infrastructure/logging/Log.cs +++ b/lib/infrastructure/logging/Log.cs @@ -1,25 +1,25 @@ -using System;
-using gorilla.infrastructure.container;
-
-namespace gorilla.infrastructure.logging
-{
- static public class Log
- {
- static public Logger For<T>(T item_to_create_logger_for)
- {
- return For(typeof (T));
- }
-
- static public Logger For(Type type_to_create_a_logger_for)
- {
- try
- {
- return Resolve.the<LogFactory>().create_for(type_to_create_a_logger_for);
- }
- catch
- {
- return new TextLogger(Console.Out);
- }
- }
- }
-}
\ No newline at end of file +using System; +using jive.infrastructure.container; + +namespace jive.infrastructure.logging +{ + static public class Log + { + static public Logger For<T>(T item_to_create_logger_for) + { + return For(typeof (T)); + } + + static public Logger For(Type type_to_create_a_logger_for) + { + try + { + return Resolve.the<LogFactory>().create_for(type_to_create_a_logger_for); + } + catch + { + return new TextLogger(Console.Out); + } + } + } +} |
