Comments (2)
Hi @Appelg yes you can on any destination (via the BaseDestination
's minLevel
property).
It's done via SwiftyBeaver, not JustLog per se.
E.g.
let minLogLevel: SwiftyBeaver.Level
switch <yourConfiguration> {
case "verbose":
minLogLevel = .verbose
case "debug":
minLogLevel = .debug
case "info":
minLogLevel = .info
case "warning":
minLogLevel = .warning
case "error":
minLogLevel = .error
default:
minLogLevel = .verbose
}
Logger.shared.logstash.minLevel = minLogLevel
from justlog.
Totally missed that, thanks!
from justlog.
Related Issues (20)
- Carthage Error: Task failed with exit code 65
- SPM: explicitly declare them as resources or exclude from the target
- [Question] How to setup on react-native HOT 2
- Just log crash on iOS 12 HOT 9
- Fatal Exception: NSInvalidArgumentException -[__NSCFNumber count] Logger.log(_:_:error:userInfo:_:_:_:) HOT 12
- [Crash] Over committing from RepeatingTimer HOT 1
- Is it possible to update defaultUserInfo dictionary after logger has been setup? HOT 1
- Code=28 "No space left on device" HOT 1
- Multiple Logger instances HOT 2
- Logs are not shown correctly in Kibana HOT 2
- [Question]: Support for network logging HOT 1
- Logging while app is in the background HOT 2
- Xcode 11 build error using Carthage HOT 2
- How can I get the actual rest results with XCUITest in the Log file
- Can't find errorDictionary fun with the latest version
- Not able to see log on Kibana even after seeing `🔌 <AsyncSocket>, did write` HOT 2
- Question on Offline Logging and re-upload when internet connection is available HOT 2
- Is it possible to send logs to a HTTP endpoint ? HOT 3
- Is JustLog available or validated on macOS? HOT 3
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 justlog.