Comments (23)
changes for this issue are on the multiplatform branch: https://github.com/MicroUtils/kotlin-logging/tree/multiplatform
from kotlin-logging.
@oshai I still could not see the new version 1.5.6 in central maven repo.
EDIT: I can see it now and it compiles without any issues. Thanks 👍
from kotlin-logging.
All work was merged to master. There is no js artifact yet but repo is ready for that.
from kotlin-logging.
No, currently this issue is only related to jvm/js. But it is true that in the future we should have native flavour as well.
from kotlin-logging.
@joelhandwell if it not difficult, I'll try to implement it in https://github.com/Lewik/klogging I'll notify you about it.
from kotlin-logging.
I also published common and js artifacts to bintray/jcenter. feedback is welcome.
from kotlin-logging.
I published version 1.5.9 to maven central which I hope will solve the issue with missing artifacts. There is still a broken build in Travis that I am handling because of js tests issue. If you see any other errors please open a new issue.
from kotlin-logging.
I would really like this awesome library supporting multiplatform code. There is already attempt using mu.kotlin-logging
here: https://github.com/shafirov/klogging, but it does not provide API to be used in multiplatform code.
from kotlin-logging.
Do you have an idea or link how to do that? I am not sure what is the level of support in kotlin for such libs.
from kotlin-logging.
I referenced only ideas. There is a discussion on supporting the multi-platform projects.
from kotlin-logging.
Thanks for the links, seems like not that stable at the moment... So I am still waiting for JB to announce of something official.
from kotlin-logging.
Yeah, official support would be really nice. Thank you for all your effort!
from kotlin-logging.
from kotlin-logging.
It will be possible in 1.2: http://kotlinlang.org/docs/reference/multiplatform.html
from kotlin-logging.
https://github.com/Lewik/klogging can jvm, js and common logging.
from kotlin-logging.
release 1.5.3 is from multiplatform branch, currently only jvm version but you are welcome to try.
from kotlin-logging.
@oshai Is this also applicable for Kotlin/Native multi platform projects?
from kotlin-logging.
@LDVSOFT @Lewik - if you can test common + js from here: https://github.com/MicroUtils/kotlin-logging/releases/tag/1.5.5 it will be great. Also, any comments on the implementation are welcome.
from kotlin-logging.
Currently maven/gradle build is failing for kotlin/jvm project as it is not able to find the common module.
> Could not find io.github.microutils:kotlin-logging-common:1.5.5.
Searched in the following locations:
file:/home/anindya/.m2/repository/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.pom
file:/home/anindya/.m2/repository/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.jar
https://repo.maven.apache.org/maven2/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.pom
https://repo.maven.apache.org/maven2/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.jar
https://oss.sonatype.org/content/repositories/snapshots/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.pom
https://oss.sonatype.org/content/repositories/snapshots/io/github/microutils/kotlin-logging-common/1.5.5/kotlin-logging-common-1.5.5.jar
Do you have any plan to publish the common artifact to central maven repo? For the time being I have added jcenter()
to the build repository of my gradle script.
from kotlin-logging.
I was hoping I will not have to, it will break usage for existing users trying to upgrade.
I will try to define source-sets to overcome this issue.
from kotlin-logging.
@anidotnet - thanks for reporting. seems something was changed between Kotlin versions 1.2.30->1.2.40 in pom generation. I will try to ask around.
In the meanwhile, I created version 1.5.6 that should be ok. It will be great if you can verify that.
from kotlin-logging.
opened an issue for it: https://youtrack.jetbrains.com/issue/KT-25799
from kotlin-logging.
Please vote for this issue, as it prevents us from upgrading kotlin version: https://youtrack.jetbrains.com/issue/KT-25799
from kotlin-logging.
Related Issues (20)
- Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory HOT 2
- Declaring logger outside the class vs. inside HOT 8
- Possible to add a module-info.java for improved JPMS support? HOT 3
- setting logging level per KLogger instance in run-time HOT 4
- Built JAR Errors - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" HOT 3
- Darwin doesn't log stacktraces HOT 2
- Publish Dokka HTML docs on project site HOT 2
- Why was KLogging deprecated? HOT 4
- KLoggingEventBuilder accept nullable values in payload HOT 4
- IllegalArgumentException when message includes {} HOT 5
- Android native targets missing. HOT 3
- Wrong class name printed when using LoggingEventBuilder with payload HOT 10
- Undo workaround for Gradle issue #11412 HOT 1
- Add timestamp to the KLoggingEvent HOT 4
- 'NoClassDefFoundError: Failed resolution of: Lorg/slf4j/LoggerFactory' in kotlin multiplatform for android target HOT 2
- Needs a WASI target HOT 2
- Add a modifiable factory for SLF4J loggers HOT 2
- Improving Log Analytics by Indexing Cause Messages HOT 1
- add missing watchos targets HOT 1
- Line number and source file hidden behind ConsoleOutputAppender. in Kotlin/JS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-logging.