move logger to top level

This commit is contained in:
Sky Johnson 2025-06-05 20:26:09 -05:00
parent 60dd7ba82f
commit ddb1d7c9d7
13 changed files with 12 additions and 12 deletions

View File

@ -10,12 +10,12 @@ import (
"Moonshark/color" "Moonshark/color"
"Moonshark/config" "Moonshark/config"
"Moonshark/logger"
"Moonshark/metadata" "Moonshark/metadata"
"Moonshark/router" "Moonshark/router"
"Moonshark/runner" "Moonshark/runner"
"Moonshark/sessions" "Moonshark/sessions"
"Moonshark/utils" "Moonshark/utils"
"Moonshark/utils/logger"
"github.com/valyala/fasthttp" "github.com/valyala/fasthttp"
) )

View File

@ -16,12 +16,12 @@ import (
"Moonshark/color" "Moonshark/color"
"Moonshark/config" "Moonshark/config"
"Moonshark/http" "Moonshark/http"
"Moonshark/logger"
"Moonshark/metadata" "Moonshark/metadata"
"Moonshark/router" "Moonshark/router"
"Moonshark/runner" "Moonshark/runner"
"Moonshark/runner/lualibs" "Moonshark/runner/lualibs"
"Moonshark/sessions" "Moonshark/sessions"
"Moonshark/utils/logger"
"Moonshark/watchers" "Moonshark/watchers"
fin "git.sharkk.net/Sharkk/Fin" fin "git.sharkk.net/Sharkk/Fin"

View File

@ -1,7 +1,7 @@
package runner package runner
import ( import (
"Moonshark/utils/logger" "Moonshark/logger"
_ "embed" _ "embed"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go" luajit "git.sharkk.net/Sky/LuaJIT-to-Go"

View File

@ -1,7 +1,7 @@
package lualibs package lualibs
import ( import (
"Moonshark/utils/logger" "Moonshark/logger"
"crypto/hmac" "crypto/hmac"
"crypto/md5" "crypto/md5"
"crypto/rand" "crypto/rand"

View File

@ -11,7 +11,7 @@ import (
"sync" "sync"
"Moonshark/color" "Moonshark/color"
"Moonshark/utils/logger" "Moonshark/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go" luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
) )

View File

@ -9,7 +9,7 @@ import (
"time" "time"
"Moonshark/color" "Moonshark/color"
"Moonshark/utils/logger" "Moonshark/logger"
lru "git.sharkk.net/Go/LRU" lru "git.sharkk.net/Go/LRU"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go" luajit "git.sharkk.net/Sky/LuaJIT-to-Go"

View File

@ -7,7 +7,7 @@ import (
"strings" "strings"
"sync" "sync"
"Moonshark/utils/logger" "Moonshark/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go" luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
) )

View File

@ -11,11 +11,11 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"Moonshark/logger"
"Moonshark/router" "Moonshark/router"
"Moonshark/runner/lualibs" "Moonshark/runner/lualibs"
"Moonshark/runner/sqlite" "Moonshark/runner/sqlite"
"Moonshark/sessions" "Moonshark/sessions"
"Moonshark/utils/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go" luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
"github.com/goccy/go-json" "github.com/goccy/go-json"

View File

@ -12,7 +12,7 @@ import (
"zombiezen.com/go/sqlite/sqlitex" "zombiezen.com/go/sqlite/sqlitex"
"Moonshark/color" "Moonshark/color"
"Moonshark/utils/logger" "Moonshark/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go" luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
) )

View File

@ -6,9 +6,9 @@ import (
"sync" "sync"
"Moonshark/color" "Moonshark/color"
"Moonshark/logger"
"Moonshark/router" "Moonshark/router"
"Moonshark/runner" "Moonshark/runner"
"Moonshark/utils/logger"
) )
// Global watcher manager instance with explicit creation // Global watcher manager instance with explicit creation

View File

@ -7,7 +7,7 @@ import (
"sync" "sync"
"time" "time"
"Moonshark/utils/logger" "Moonshark/logger"
) )
// Default debounce time between detected change and callback // Default debounce time between detected change and callback

View File

@ -5,7 +5,7 @@ import (
"sync" "sync"
"time" "time"
"Moonshark/utils/logger" "Moonshark/logger"
) )
// DefaultPollInterval is the time between directory checks // DefaultPollInterval is the time between directory checks