From 92717b4ab7ca15ae35ff46470edd0a937e6fc553 Mon Sep 17 00:00:00 2001 From: heromyth Date: Thu, 3 Mar 2022 11:20:20 +0800 Subject: [PATCH] The ConsoleLogger is deprecated. --- source/hunt/framework/Simplify.d | 2 +- source/hunt/framework/auth/Auth.d | 2 +- source/hunt/framework/auth/AuthService.d | 2 +- source/hunt/framework/auth/BasicAuthRealm.d | 2 +- source/hunt/framework/auth/HuntShiroCache.d | 2 +- source/hunt/framework/auth/Identity.d | 2 +- source/hunt/framework/auth/JwtAuthRealm.d | 2 +- source/hunt/framework/auth/JwtUtil.d | 2 +- source/hunt/framework/auth/ShiroCacheManager.d | 2 +- source/hunt/framework/auth/SimpleUserService.d | 2 +- source/hunt/framework/auth/UserDetails.d | 2 +- source/hunt/framework/auth/guard/BasicGuard.d | 2 +- source/hunt/framework/auth/guard/Guard.d | 2 +- source/hunt/framework/auth/guard/JwtGuard.d | 2 +- source/hunt/framework/command/ServeCommand.d | 2 +- source/hunt/framework/config/AuthUserConfig.d | 2 +- source/hunt/framework/config/ConfigManager.d | 2 +- source/hunt/framework/controller/Controller.d | 4 ++-- source/hunt/framework/http/FileResponse.d | 2 +- source/hunt/framework/http/JsonResponse.d | 2 +- source/hunt/framework/http/RedirectResponse.d | 2 +- source/hunt/framework/http/Request.d | 2 +- source/hunt/framework/http/Response.d | 2 +- source/hunt/framework/middleware/AuthMiddleware.d | 2 +- source/hunt/framework/middleware/MiddlewareInterface.d | 2 +- source/hunt/framework/provider/AmqpServiceProvider.d | 2 +- source/hunt/framework/provider/AuthServiceProvider.d | 2 +- source/hunt/framework/provider/CacheServiceProvider.d | 2 +- source/hunt/framework/provider/ConfigServiceProvider.d | 2 +- source/hunt/framework/provider/DatabaseServiceProvider.d | 2 +- source/hunt/framework/provider/QueueServiceProvider.d | 2 +- source/hunt/framework/provider/RedisServiceProvider.d | 2 +- source/hunt/framework/provider/TaskServiceProvider.d | 2 +- source/hunt/framework/provider/TranslationServiceProvider.d | 2 +- source/hunt/framework/provider/UserServiceProvider.d | 2 +- source/hunt/framework/provider/ViewServiceProvider.d | 2 +- .../provider/listener/DefaultServiceProviderListener.d | 2 +- source/hunt/framework/queue/AbstractQueue.d | 2 +- source/hunt/framework/queue/AmqpQueue.d | 2 +- source/hunt/framework/queue/MemoryQueue.d | 2 +- source/hunt/framework/queue/QueueManager.d | 2 +- source/hunt/framework/queue/RedisQueue.d | 2 +- source/hunt/framework/routing/RouteConfigManager.d | 2 +- source/hunt/framework/routing/RouteGroup.d | 2 +- source/hunt/framework/routing/RouteItem.d | 2 +- source/hunt/framework/task/TaskWorker.d | 2 +- source/hunt/framework/util/uninode/Core.d | 2 +- source/hunt/framework/view/Environment.d | 2 +- source/hunt/framework/view/Render.d | 2 +- source/hunt/framework/view/Uninode.d | 2 +- source/hunt/framework/view/algo/Functions.d | 2 +- source/hunt/framework/view/algo/Tests.d | 2 +- 52 files changed, 53 insertions(+), 53 deletions(-) diff --git a/source/hunt/framework/Simplify.d b/source/hunt/framework/Simplify.d index 6faf2a411..33003565f 100755 --- a/source/hunt/framework/Simplify.d +++ b/source/hunt/framework/Simplify.d @@ -19,7 +19,7 @@ public import hunt.framework.routing; public import hunt.util.DateTime : time, date; import hunt.framework.provider; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.util.TaskPool; import poodinis; diff --git a/source/hunt/framework/auth/Auth.d b/source/hunt/framework/auth/Auth.d index 3b3689446..0e05ba82c 100644 --- a/source/hunt/framework/auth/Auth.d +++ b/source/hunt/framework/auth/Auth.d @@ -15,7 +15,7 @@ import hunt.framework.http.Request; import hunt.framework.provider.ServiceProvider; import hunt.http.AuthenticationScheme; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.shiro.Exceptions; import hunt.shiro.authc.AuthenticationToken; import hunt.util.TypeUtils; diff --git a/source/hunt/framework/auth/AuthService.d b/source/hunt/framework/auth/AuthService.d index 9ee12a513..d60ac96cd 100644 --- a/source/hunt/framework/auth/AuthService.d +++ b/source/hunt/framework/auth/AuthService.d @@ -2,7 +2,7 @@ module hunt.framework.auth.AuthService; import hunt.framework.auth.guard; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; /** * diff --git a/source/hunt/framework/auth/BasicAuthRealm.d b/source/hunt/framework/auth/BasicAuthRealm.d index 04811e24e..88cbf5120 100644 --- a/source/hunt/framework/auth/BasicAuthRealm.d +++ b/source/hunt/framework/auth/BasicAuthRealm.d @@ -13,7 +13,7 @@ import hunt.framework.provider.ServiceProvider; import hunt.collection.ArrayList; import hunt.collection.Collection; import hunt.http.AuthenticationScheme; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.shiro; import hunt.String; diff --git a/source/hunt/framework/auth/HuntShiroCache.d b/source/hunt/framework/auth/HuntShiroCache.d index ab4859aac..b3485297c 100644 --- a/source/hunt/framework/auth/HuntShiroCache.d +++ b/source/hunt/framework/auth/HuntShiroCache.d @@ -6,7 +6,7 @@ import hunt.redis; import hunt.shiro; import hunt.Exceptions; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.serialization.JsonSerializer; import std.array; diff --git a/source/hunt/framework/auth/Identity.d b/source/hunt/framework/auth/Identity.d index e2f65a585..62cab4c8e 100644 --- a/source/hunt/framework/auth/Identity.d +++ b/source/hunt/framework/auth/Identity.d @@ -8,7 +8,7 @@ import hunt.framework.auth.principal; import hunt.framework.config.AuthUserConfig; import hunt.http.AuthenticationScheme; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.shiro; import std.algorithm; diff --git a/source/hunt/framework/auth/JwtAuthRealm.d b/source/hunt/framework/auth/JwtAuthRealm.d index a74a0921e..0bb0ee76f 100644 --- a/source/hunt/framework/auth/JwtAuthRealm.d +++ b/source/hunt/framework/auth/JwtAuthRealm.d @@ -17,7 +17,7 @@ import hunt.framework.provider.ServiceProvider; import hunt.collection.ArrayList; import hunt.collection.Collection; import hunt.http.AuthenticationScheme; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.shiro; import hunt.String; diff --git a/source/hunt/framework/auth/JwtUtil.d b/source/hunt/framework/auth/JwtUtil.d index 7d5b646e9..d120cfca6 100644 --- a/source/hunt/framework/auth/JwtUtil.d +++ b/source/hunt/framework/auth/JwtUtil.d @@ -2,7 +2,7 @@ module hunt.framework.auth.JwtUtil; import hunt.framework.auth.AuthOptions; import hunt.jwt; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.util.DateTime; import core.time; diff --git a/source/hunt/framework/auth/ShiroCacheManager.d b/source/hunt/framework/auth/ShiroCacheManager.d index 3294630b6..84dc7e480 100644 --- a/source/hunt/framework/auth/ShiroCacheManager.d +++ b/source/hunt/framework/auth/ShiroCacheManager.d @@ -7,7 +7,7 @@ import hunt.shiro.authz.AuthorizationInfo; import hunt.cache.Cache; import hunt.shiro.cache.Cache; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; /** diff --git a/source/hunt/framework/auth/SimpleUserService.d b/source/hunt/framework/auth/SimpleUserService.d index d8eea465c..caf07a2cf 100644 --- a/source/hunt/framework/auth/SimpleUserService.d +++ b/source/hunt/framework/auth/SimpleUserService.d @@ -5,7 +5,7 @@ import hunt.framework.auth.UserService; import hunt.framework.config.AuthUserConfig; import hunt.framework.provider.ServiceProvider; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import std.digest.sha; diff --git a/source/hunt/framework/auth/UserDetails.d b/source/hunt/framework/auth/UserDetails.d index cbdd5c8c9..1f222a6be 100644 --- a/source/hunt/framework/auth/UserDetails.d +++ b/source/hunt/framework/auth/UserDetails.d @@ -2,7 +2,7 @@ module hunt.framework.auth.UserDetails; import hunt.framework.auth.Claim; import hunt.framework.auth.ClaimTypes; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import std.variant; diff --git a/source/hunt/framework/auth/guard/BasicGuard.d b/source/hunt/framework/auth/guard/BasicGuard.d index 2892bb2f1..bdbc1418f 100644 --- a/source/hunt/framework/auth/guard/BasicGuard.d +++ b/source/hunt/framework/auth/guard/BasicGuard.d @@ -10,7 +10,7 @@ import hunt.framework.http.Request; import hunt.http.AuthenticationScheme; import hunt.shiro; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import std.algorithm; import std.base64; diff --git a/source/hunt/framework/auth/guard/Guard.d b/source/hunt/framework/auth/guard/Guard.d index d75661af8..afc1fb6cc 100644 --- a/source/hunt/framework/auth/guard/Guard.d +++ b/source/hunt/framework/auth/guard/Guard.d @@ -13,7 +13,7 @@ import hunt.shiro; import hunt.shiro.session.mgt.SessionManager; import hunt.shiro.session.mgt.DefaultSessionManager; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; diff --git a/source/hunt/framework/auth/guard/JwtGuard.d b/source/hunt/framework/auth/guard/JwtGuard.d index d1f056f61..54977e389 100644 --- a/source/hunt/framework/auth/guard/JwtGuard.d +++ b/source/hunt/framework/auth/guard/JwtGuard.d @@ -11,7 +11,7 @@ import hunt.framework.http.Request; import hunt.http.AuthenticationScheme; import hunt.shiro; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import std.algorithm; import std.base64; diff --git a/source/hunt/framework/command/ServeCommand.d b/source/hunt/framework/command/ServeCommand.d index 3955a1ef6..46308ab61 100644 --- a/source/hunt/framework/command/ServeCommand.d +++ b/source/hunt/framework/command/ServeCommand.d @@ -3,7 +3,7 @@ module hunt.framework.command.ServeCommand; import hunt.framework.Init; import hunt.console; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import core.stdc.stdlib : exit; diff --git a/source/hunt/framework/config/AuthUserConfig.d b/source/hunt/framework/config/AuthUserConfig.d index ce1a2780f..71326e9e1 100644 --- a/source/hunt/framework/config/AuthUserConfig.d +++ b/source/hunt/framework/config/AuthUserConfig.d @@ -11,7 +11,7 @@ import std.stdio; import std.range; import std.string; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; /** diff --git a/source/hunt/framework/config/ConfigManager.d b/source/hunt/framework/config/ConfigManager.d index 6ca6408c0..4501a33ed 100644 --- a/source/hunt/framework/config/ConfigManager.d +++ b/source/hunt/framework/config/ConfigManager.d @@ -4,7 +4,7 @@ import hunt.framework.application.HostEnvironment; import hunt.framework.config.ApplicationConfig; import hunt.framework.Init; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.util.Configuration; import std.exception; diff --git a/source/hunt/framework/controller/Controller.d b/source/hunt/framework/controller/Controller.d index 20ee6d06a..bd07fa4d9 100755 --- a/source/hunt/framework/controller/Controller.d +++ b/source/hunt/framework/controller/Controller.d @@ -34,7 +34,7 @@ import hunt.http.HttpConnection; import hunt.cache; import hunt.entity.EntityManagerFactory; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.redis.Redis; import hunt.redis.RedisPool; import hunt.validation; @@ -686,7 +686,7 @@ string __createCallActionMethod(T, string moduleName)() import hunt.http.server.HttpServerResponse; import hunt.http.routing.RoutingContext; import hunt.http.HttpBody; - import hunt.logging.ConsoleLogger; + import hunt.logging.Logger; import hunt.validation.ConstraintValidatorContext; import hunt.framework.middleware.MiddlewareInterface; import std.demangle; diff --git a/source/hunt/framework/http/FileResponse.d b/source/hunt/framework/http/FileResponse.d index dc76813d9..7f22f15e8 100644 --- a/source/hunt/framework/http/FileResponse.d +++ b/source/hunt/framework/http/FileResponse.d @@ -12,7 +12,7 @@ import hunt.framework.http.Response; import hunt.framework.Init; import hunt.framework.util.String; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.http.server; /** diff --git a/source/hunt/framework/http/JsonResponse.d b/source/hunt/framework/http/JsonResponse.d index 56676eece..624a9c5c6 100644 --- a/source/hunt/framework/http/JsonResponse.d +++ b/source/hunt/framework/http/JsonResponse.d @@ -6,7 +6,7 @@ import std.conv; import std.datetime; import std.json; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.util.MimeType; import hunt.serialization.JsonSerializer; diff --git a/source/hunt/framework/http/RedirectResponse.d b/source/hunt/framework/http/RedirectResponse.d index d7a054195..042beb251 100755 --- a/source/hunt/framework/http/RedirectResponse.d +++ b/source/hunt/framework/http/RedirectResponse.d @@ -4,7 +4,7 @@ import hunt.framework.http.Response; import hunt.Exceptions; import hunt.http.server; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import std.conv; diff --git a/source/hunt/framework/http/Request.d b/source/hunt/framework/http/Request.d index 58d809452..28c65b7b3 100755 --- a/source/hunt/framework/http/Request.d +++ b/source/hunt/framework/http/Request.d @@ -25,7 +25,7 @@ import hunt.http.HttpHeader; import hunt.http.MultipartForm; import hunt.http.server.HttpServerRequest; import hunt.http.server.HttpSession; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.serialization.JsonSerializer; import std.algorithm; diff --git a/source/hunt/framework/http/Response.d b/source/hunt/framework/http/Response.d index 691be54f1..8c0677641 100755 --- a/source/hunt/framework/http/Response.d +++ b/source/hunt/framework/http/Response.d @@ -16,7 +16,7 @@ import hunt.http.HttpStatus; import hunt.http.server; import hunt.io.ByteBuffer; import hunt.serialization.JsonSerializer; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import std.conv; import std.json; diff --git a/source/hunt/framework/middleware/AuthMiddleware.d b/source/hunt/framework/middleware/AuthMiddleware.d index a44517813..1ae58a63d 100644 --- a/source/hunt/framework/middleware/AuthMiddleware.d +++ b/source/hunt/framework/middleware/AuthMiddleware.d @@ -21,7 +21,7 @@ import hunt.framework.Simplify; import hunt.http.HttpHeader; import hunt.http.AuthenticationScheme; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import std.base64; import std.range; diff --git a/source/hunt/framework/middleware/MiddlewareInterface.d b/source/hunt/framework/middleware/MiddlewareInterface.d index b65ed362d..8ec22e78d 100644 --- a/source/hunt/framework/middleware/MiddlewareInterface.d +++ b/source/hunt/framework/middleware/MiddlewareInterface.d @@ -14,7 +14,7 @@ module hunt.framework.middleware.MiddlewareInterface; import hunt.framework.http.Request; import hunt.framework.http.Response; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.Functions; import std.exception; diff --git a/source/hunt/framework/provider/AmqpServiceProvider.d b/source/hunt/framework/provider/AmqpServiceProvider.d index 93010e247..4717dd629 100644 --- a/source/hunt/framework/provider/AmqpServiceProvider.d +++ b/source/hunt/framework/provider/AmqpServiceProvider.d @@ -4,7 +4,7 @@ module hunt.framework.provider.AmqpServiceProvider; // import hunt.framework.config.ApplicationConfig; // import hunt.amqp.client; -// import hunt.logging.ConsoleLogger; +// import hunt.logging.Logger; // import poodinis; // import core.time; diff --git a/source/hunt/framework/provider/AuthServiceProvider.d b/source/hunt/framework/provider/AuthServiceProvider.d index ac76c2940..cdd5a1e34 100644 --- a/source/hunt/framework/provider/AuthServiceProvider.d +++ b/source/hunt/framework/provider/AuthServiceProvider.d @@ -4,7 +4,7 @@ import hunt.framework.provider.ServiceProvider; import hunt.framework.config; import hunt.framework.auth; import hunt.http.AuthenticationScheme; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.shiro; import std.algorithm; diff --git a/source/hunt/framework/provider/CacheServiceProvider.d b/source/hunt/framework/provider/CacheServiceProvider.d index e3656d954..5fee8a6d4 100644 --- a/source/hunt/framework/provider/CacheServiceProvider.d +++ b/source/hunt/framework/provider/CacheServiceProvider.d @@ -7,7 +7,7 @@ import hunt.cache.CacheFactory; import hunt.cache.Cache; import hunt.cache.CacheOptions; import hunt.cache.Defined; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.redis.RedisPoolOptions; import hunt.framework.Init; diff --git a/source/hunt/framework/provider/ConfigServiceProvider.d b/source/hunt/framework/provider/ConfigServiceProvider.d index 8790fa74c..54d973161 100644 --- a/source/hunt/framework/provider/ConfigServiceProvider.d +++ b/source/hunt/framework/provider/ConfigServiceProvider.d @@ -8,7 +8,7 @@ import hunt.framework.provider.ServiceProvider; import hunt.framework.Init; import hunt.framework.routing; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import poodinis; import std.array; diff --git a/source/hunt/framework/provider/DatabaseServiceProvider.d b/source/hunt/framework/provider/DatabaseServiceProvider.d index cbada05ed..dd06400b7 100644 --- a/source/hunt/framework/provider/DatabaseServiceProvider.d +++ b/source/hunt/framework/provider/DatabaseServiceProvider.d @@ -3,7 +3,7 @@ module hunt.framework.provider.DatabaseServiceProvider; import hunt.framework.provider.ServiceProvider; import hunt.framework.config.ApplicationConfig; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.entity; import poodinis; diff --git a/source/hunt/framework/provider/QueueServiceProvider.d b/source/hunt/framework/provider/QueueServiceProvider.d index 19ce7a9cb..1931a501c 100644 --- a/source/hunt/framework/provider/QueueServiceProvider.d +++ b/source/hunt/framework/provider/QueueServiceProvider.d @@ -5,7 +5,7 @@ import hunt.framework.config.ApplicationConfig; import hunt.framework.queue; import hunt.redis; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import poodinis; diff --git a/source/hunt/framework/provider/RedisServiceProvider.d b/source/hunt/framework/provider/RedisServiceProvider.d index dedf05b40..0ee5c29e6 100644 --- a/source/hunt/framework/provider/RedisServiceProvider.d +++ b/source/hunt/framework/provider/RedisServiceProvider.d @@ -5,7 +5,7 @@ import hunt.framework.config.ApplicationConfig; import hunt.collection.HashSet; import hunt.collection.Set; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.redis; import poodinis; diff --git a/source/hunt/framework/provider/TaskServiceProvider.d b/source/hunt/framework/provider/TaskServiceProvider.d index 690ea8c9f..96fd193c8 100644 --- a/source/hunt/framework/provider/TaskServiceProvider.d +++ b/source/hunt/framework/provider/TaskServiceProvider.d @@ -5,7 +5,7 @@ import hunt.framework.provider.ServiceProvider; import hunt.framework.queue; import hunt.framework.task; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import poodinis; import std.path; diff --git a/source/hunt/framework/provider/TranslationServiceProvider.d b/source/hunt/framework/provider/TranslationServiceProvider.d index 7bb457daa..63332a052 100644 --- a/source/hunt/framework/provider/TranslationServiceProvider.d +++ b/source/hunt/framework/provider/TranslationServiceProvider.d @@ -5,7 +5,7 @@ import hunt.framework.config.ApplicationConfig; import hunt.framework.i18n.I18n; import hunt.framework.Init; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import poodinis; import std.path; diff --git a/source/hunt/framework/provider/UserServiceProvider.d b/source/hunt/framework/provider/UserServiceProvider.d index 613f74420..9b051b0c6 100644 --- a/source/hunt/framework/provider/UserServiceProvider.d +++ b/source/hunt/framework/provider/UserServiceProvider.d @@ -5,7 +5,7 @@ import hunt.framework.provider.ServiceProvider; import hunt.framework.auth.SimpleUserService; import hunt.framework.auth.UserService; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import poodinis; diff --git a/source/hunt/framework/provider/ViewServiceProvider.d b/source/hunt/framework/provider/ViewServiceProvider.d index d8c6cdfc1..bf847b189 100644 --- a/source/hunt/framework/provider/ViewServiceProvider.d +++ b/source/hunt/framework/provider/ViewServiceProvider.d @@ -6,7 +6,7 @@ import hunt.framework.Init; import hunt.framework.view.View; import hunt.framework.view.Environment; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import poodinis; import std.path; diff --git a/source/hunt/framework/provider/listener/DefaultServiceProviderListener.d b/source/hunt/framework/provider/listener/DefaultServiceProviderListener.d index b47675cba..a7f1560ba 100644 --- a/source/hunt/framework/provider/listener/DefaultServiceProviderListener.d +++ b/source/hunt/framework/provider/listener/DefaultServiceProviderListener.d @@ -1,7 +1,7 @@ module hunt.framework.provider.listener.DefaultServiceProviderListener; import hunt.framework.provider.listener.ServiceProviderListener; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; /** * diff --git a/source/hunt/framework/queue/AbstractQueue.d b/source/hunt/framework/queue/AbstractQueue.d index 9eaf17d9c..030d8e67a 100644 --- a/source/hunt/framework/queue/AbstractQueue.d +++ b/source/hunt/framework/queue/AbstractQueue.d @@ -18,7 +18,7 @@ import hunt.util.Common; import hunt.util.Timer; import hunt.logging; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.collection.ArrayList; import hunt.collection.List; diff --git a/source/hunt/framework/queue/AmqpQueue.d b/source/hunt/framework/queue/AmqpQueue.d index 90505639f..de5901d25 100644 --- a/source/hunt/framework/queue/AmqpQueue.d +++ b/source/hunt/framework/queue/AmqpQueue.d @@ -4,7 +4,7 @@ module hunt.framework.queue.AmqpQueue; // import hunt.amqp.client; // import hunt.collection.List; -// import hunt.logging.ConsoleLogger; +// import hunt.logging.Logger; // import core.thread; // import std.parallelism; diff --git a/source/hunt/framework/queue/MemoryQueue.d b/source/hunt/framework/queue/MemoryQueue.d index ef19ba21a..245d80572 100644 --- a/source/hunt/framework/queue/MemoryQueue.d +++ b/source/hunt/framework/queue/MemoryQueue.d @@ -4,7 +4,7 @@ import hunt.framework.queue.AbstractQueue; import hunt.collection.List; import hunt.io.SimpleQueue; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import core.thread; import std.parallelism; diff --git a/source/hunt/framework/queue/QueueManager.d b/source/hunt/framework/queue/QueueManager.d index db95f96f4..91490b487 100644 --- a/source/hunt/framework/queue/QueueManager.d +++ b/source/hunt/framework/queue/QueueManager.d @@ -5,7 +5,7 @@ import hunt.framework.queue; // import hunt.amqp.client; import hunt.redis; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.framework.provider.ServiceProvider; /** diff --git a/source/hunt/framework/queue/RedisQueue.d b/source/hunt/framework/queue/RedisQueue.d index 07fe75cab..ee723a362 100644 --- a/source/hunt/framework/queue/RedisQueue.d +++ b/source/hunt/framework/queue/RedisQueue.d @@ -6,7 +6,7 @@ import hunt.collection.List; import hunt.redis.Redis; import hunt.redis.RedisPool; import hunt.Long; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import core.thread; import std.parallelism; diff --git a/source/hunt/framework/routing/RouteConfigManager.d b/source/hunt/framework/routing/RouteConfigManager.d index 4f2f7960d..fb6164e28 100644 --- a/source/hunt/framework/routing/RouteConfigManager.d +++ b/source/hunt/framework/routing/RouteConfigManager.d @@ -7,7 +7,7 @@ import hunt.framework.routing.RouteGroup; import hunt.framework.config.ApplicationConfig; import hunt.framework.Init; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.http.routing.RouterManager; import std.algorithm; diff --git a/source/hunt/framework/routing/RouteGroup.d b/source/hunt/framework/routing/RouteGroup.d index e8edb6965..fb3f034a0 100644 --- a/source/hunt/framework/routing/RouteGroup.d +++ b/source/hunt/framework/routing/RouteGroup.d @@ -5,7 +5,7 @@ import hunt.framework.routing.RouteItem; import hunt.framework.auth.AuthOptions; import hunt.framework.middleware.MiddlewareInterface; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; /** * diff --git a/source/hunt/framework/routing/RouteItem.d b/source/hunt/framework/routing/RouteItem.d index 2110fe535..42650e96e 100644 --- a/source/hunt/framework/routing/RouteItem.d +++ b/source/hunt/framework/routing/RouteItem.d @@ -1,7 +1,7 @@ module hunt.framework.routing.RouteItem; import hunt.framework.middleware.MiddlewareInterface; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; /** diff --git a/source/hunt/framework/task/TaskWorker.d b/source/hunt/framework/task/TaskWorker.d index 98889067b..83987d724 100644 --- a/source/hunt/framework/task/TaskWorker.d +++ b/source/hunt/framework/task/TaskWorker.d @@ -3,7 +3,7 @@ module hunt.framework.task.TaskWorker; import hunt.framework.task.TaskExecutor; import hunt.framework.queue; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; // import hunt.serialization.JsonSerializer; import hunt.serialization.BinarySerialization; diff --git a/source/hunt/framework/util/uninode/Core.d b/source/hunt/framework/util/uninode/Core.d index 9153c235b..2ea72d816 100755 --- a/source/hunt/framework/util/uninode/Core.d +++ b/source/hunt/framework/util/uninode/Core.d @@ -22,7 +22,7 @@ private } -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; /** * UniNode implementation diff --git a/source/hunt/framework/view/Environment.d b/source/hunt/framework/view/Environment.d index fbe05ae48..f27592297 100755 --- a/source/hunt/framework/view/Environment.d +++ b/source/hunt/framework/view/Environment.d @@ -23,7 +23,7 @@ import hunt.framework.util.uninode.Serialization; import hunt.framework.http.Request; import hunt.framework.Init; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import std.meta; import std.traits; diff --git a/source/hunt/framework/view/Render.d b/source/hunt/framework/view/Render.d index 61a5498a1..4b451889a 100755 --- a/source/hunt/framework/view/Render.d +++ b/source/hunt/framework/view/Render.d @@ -30,7 +30,7 @@ private import hunt.framework.Simplify; import hunt.framework.view.Util; - import hunt.logging.ConsoleLogger; + import hunt.logging.Logger; } diff --git a/source/hunt/framework/view/Uninode.d b/source/hunt/framework/view/Uninode.d index 9d5dd1fc6..a9e6546f3 100755 --- a/source/hunt/framework/view/Uninode.d +++ b/source/hunt/framework/view/Uninode.d @@ -26,7 +26,7 @@ import std.conv : to; import std.format: fmt = format; import std.typecons : Tuple, tuple; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; import hunt.framework.view.Lexer; import hunt.framework.view.Exception : TemplateRenderException, diff --git a/source/hunt/framework/view/algo/Functions.d b/source/hunt/framework/view/algo/Functions.d index 77e437776..3e69fd48a 100755 --- a/source/hunt/framework/view/algo/Functions.d +++ b/source/hunt/framework/view/algo/Functions.d @@ -17,7 +17,7 @@ private import hunt.framework.view.Exception : assertTemplate = assertTemplateException, TemplateRenderException; import hunt.framework.view.Uninode; - import hunt.logging.ConsoleLogger; + import hunt.logging.Logger; import std.array : array; import std.algorithm : map; diff --git a/source/hunt/framework/view/algo/Tests.d b/source/hunt/framework/view/algo/Tests.d index 2537fac3d..95a263862 100755 --- a/source/hunt/framework/view/algo/Tests.d +++ b/source/hunt/framework/view/algo/Tests.d @@ -14,7 +14,7 @@ module hunt.framework.view.algo.Tests; import hunt.framework.view.algo.Wrapper; import hunt.framework.view.Uninode; -import hunt.logging.ConsoleLogger; +import hunt.logging.Logger; Function[string] globalTests()