Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log output does not appear in system console, only debug console #32

Closed
nickvelloff opened this issue Jan 15, 2015 · 3 comments
Closed

Comments

@nickvelloff
Copy link

screenshot 2015-01-14 23 57 08

@DaveWoodCom
Copy link
Owner

By default, logs are sent to the debug console using the println() function. You can create additional log destinations following the sample in the library.

@nickvelloff
Copy link
Author

Could you perhaps point me to the sample? Do you mean looking at the source code for XCGConsoleLogDestination?

@nickvelloff
Copy link
Author

Is this it:

import Foundation
import XCGLogger
class ConsoleLogDestination: XCGConsoleLogDestination {

    internal override func processLogDetails(logDetails: XCGLogDetails) {
        // do my own here
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants