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 3d81924
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions slf4j/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:url "https://www.eclipse.org/legal/epl-v10.html"}

:java-source-paths ["src/java"]
:javac-options ["--release" "11" "-g"] ; Support Java >= v11
:dependencies
[[org.clojure/clojure "1.11.1"]
[org.slf4j/slf4j-api "2.0.12"]]
Expand Down
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 3d81924

Please sign in to comment.