Skip to content

Commit

Permalink
[wip] Initial code (next)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Feb 29, 2024
1 parent 6fb5b2a commit 1db5675
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
12 changes: 8 additions & 4 deletions slf4j/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@
:url "https://www.eclipse.org/legal/epl-v10.html"}

:java-source-paths ["src/java"]
:dependencies
[[org.clojure/clojure "1.11.1"]
[org.slf4j/slf4j-api "2.0.12"]]
:javac-options ["--release" "11" "-g"] ; Support Java >= v11
:dependencies []

:profiles
{:provided
{:dependencies
[[org.clojure/clojure "1.11.1"]
[org.slf4j/slf4j-api "2.0.12"]]}}

:profiles {}
:aliases
{"deploy-lib" ["do" #_["build-once"] ["deploy" "clojars"] ["install"]]})
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
package com.taoensso.telemere.slf4j;
// Based on `org.slf4j.simple.SimpleLogger`

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.Marker;
import org.slf4j.event.Level;
Expand All @@ -35,7 +37,7 @@
import clojure.java.api.Clojure;
import clojure.lang.IFn;

public class TelemereLogger extends LegacyAbstractLogger implements LoggingEventAware {
public class TelemereLogger extends LegacyAbstractLogger implements LoggingEventAware, Serializable {

private static final long serialVersionUID = -1999356203037132557L;

Expand Down
2 changes: 1 addition & 1 deletion src/taoensso/telemere.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
;; 3. First OpenTelemetry tools

;;;; TODO
;; - `tools.logging` interop
;; > `tools.logging` interop

;; - Via Timbre: any last utils?
;; - Via Timbre: core handlers, etc.
Expand Down

0 comments on commit 1db5675

Please sign in to comment.