Skip to content

Commit

Permalink
Moved logging module as git package
Browse files Browse the repository at this point in the history
Since more of my projects will depend on that
  • Loading branch information
dd86k committed Aug 23, 2024
1 parent 5f03613 commit e72b507
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 296 deletions.
1 change: 1 addition & 0 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ copyright "Copyright © 2024, dd86k <dd@dax.moe>"
license "BSD-3-Clause-Clear"

dependency "alicedbg" repository="git+https://github.com/dd86k/alicedbg.git" version="852c20d01cd6f90abc37a66927014eafd2ca3423"
dependency "ddlogger" repository="git+https://github.com/dd86k/ddlogger.git" version="a739a8d1091ed935e9de276194378715b07730ee"

# NOTE: By default, docs are built with dependencies, which is silly!
buildType "docs" {
Expand Down
2 changes: 1 addition & 1 deletion source/adapters/base.d
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
module adapters.base;

import transports.base;
import logging;
import core.thread : Thread;
import std.datetime : Duration, dur;
import ddlogger;

enum RequestType
{
Expand Down
2 changes: 1 addition & 1 deletion source/adapters/dap.d
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import std.conv : text;
import std.utf : validate;
import adapters.base;
import transports.base : ITransport;
import logging;
import utils.json;
import ddlogger;

// References:
// - https://microsoft.github.io/debug-adapter-protocol/
Expand Down
293 changes: 0 additions & 293 deletions source/logging.d

This file was deleted.

2 changes: 1 addition & 1 deletion source/server.d
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import std.concurrency;
import std.conv;
import std.string;
import core.thread;
import logging;
import adapters, debuggers;
import ddlogger;

// NOTE: Structure
//
Expand Down

0 comments on commit e72b507

Please sign in to comment.