j256 / ormlite-core

Core ORMLite functionality that provides a lite Java ORM in conjunction with ormlite-jdbc or ormlite-android
http://ormlite.com/
ISC License
577 stars 212 forks source link

Optional log details #204

Closed PeachesMLG closed 3 years ago

PeachesMLG commented 3 years ago

Made logging details optional

j256 commented 3 years ago

I'm curious why this is necessary? Is this more about too much log output or what?

PeachesMLG commented 3 years ago

I'm curious why this is necessary? Is this more about too much log output or what?

Ye basically, Im coding a java program that uses this and people have asked if its possible that it doesnt show the creation commands since i have like 15 tables and it spams the console a bit

PeachesMLG commented 3 years ago

Although I just realised in your latest commit you added setLogBackendType so I can just do setLogBackendType(LogBackendType.NULL)

Unfortunatly this hasn been released to maven central yet, when do you plan on posting that new version?

PeachesMLG commented 3 years ago

Guess ill hoest the repo myself until you release it :) Thanks