nslogger-cocoalumberjack-connector's People
Forkers
mcgraw wprater hsin919 zedenem drodriguez loftierthoughts rayray whirlwind agensgit vighfx saltmine benoitsan converge-co lxcid tomaskraina ldrr plumzi payliu rulien adorkable-forkable m1entus taiheng vki 0xcednslogger-cocoalumberjack-connector's Issues
setupWithBonjourServiceName doesn't restart Logger
In setupWithBonjourServiceName:
BOOL running = self.running;
[self stop];
LoggerSetupBonjour(NULL, NULL, (__bridge CFStringRef)serviceName);
if (running) {
[self start];
}
should be changed to
if (!running)
Shoud
Shoud
Current version doesn't work with latest version of CocoaLumberjack 2.x
I was able to get it working with a handful of edits to DDNSLoggerLogger.m, but I suspect the code would benefit from an update effort from someone that already knows the codebase.
Alternatively / in the meantime, perhaps the pod spec could be updated so that CocoaLumberjack version 1.9 is used when the NSLogger-CocoaLumberjack-connector pod is used.
CocoaLumberjack suggests:
pod 'CocoaLumberjack', '~> 1.9'
pod 'ConflictingLibrary'
Update podspec to remove dependencies
Unfortunately, it's hard to use this as a pod when I want to exclude NSLogger and the connector for Release
builds.
#...
pod 'CocoaLumberjack', '~> 1.8.1'
#...
target :MyAppDebugOnly, :exclusive => true do
pod 'NSLogger', '~> 1.2'
pod 'NSLogger-CocoaLumberjack-connector', '~> 1.3'
end
Because CocoaLumberjack is listed as a dependency, it is linked twice in this instance, causing a duplicate symbols error. I think it's safe to assume that if you are using the connector, you'll know what base tools are needed.
I've opened this issue here since the Specs repo is more locked down now.
Doesn't work as Framework in CocoaPods installation
When using "use_frameworks!" Podfile command, this project doesn't compile.
Should add a api to support start and stop the logger
I found the LoggerStart()
be called in the init
method.
I think it is not a good idea, because we can not to stop and restart it.
Need Tag 1.4 and update podspec
I found there is a pod spec for v1.4, but there is not a tag called v1.4.
Please tag it, and update the pod spec to cocoa pods.
Thanks.
NSLogger-CocoaLumberjack-connector 1.5 not in CocoaPods trunk
According to CocoaPods master repo, 1.5 hasn't been pushed to trunk yet.
-> NSLogger-CocoaLumberjack-connector (1.3)
Bridges NSLogger and CocoaLumberjack.
pod 'NSLogger-CocoaLumberjack-connector', '~> 1.3'
- Homepage: https://github.com/steipete/NSLogger-CocoaLumberjack-connector
- Source: https://github.com/steipete/NSLogger-CocoaLumberjack-connector.git
- Versions: 1.3, 1.2, 1.1 [master repo]
errors in logMessage
I've been faced to some error due to the recent version of CocoaLumberjack. Below my version of fixing bugs
- (void)logMessage:(DDLogMessage *)logMessage
{
NSString *logMsg = logMessage.message;
if (_logFormatter)
{
// formatting is supported but not encouraged!
logMsg = [_logFormatter formatLogMessage:logMessage];
}
if (logMsg)
{
int nsloggerLogLevel;
switch (logMessage.flag)
{
// NSLogger log levels start a 0, the bigger the number,
// the more specific / detailed the trace is meant to be
case LOG_FLAG_ERROR : nsloggerLogLevel = 0; break;
case LOG_FLAG_WARN : nsloggerLogLevel = 1; break;
case LOG_FLAG_INFO : nsloggerLogLevel = 2; break;
default : nsloggerLogLevel = 3; break;
}
LogMessageF([logMessage.file UTF8String], logMessage.line, [logMessage.function UTF8String], logMessage.fileName, nsloggerLogLevel, @"%@", logMsg);
}
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.