Created
September 26, 2016 21:09
-
-
Save pcantrell/90a2e3b41f7b277f157c18a7a7348c69 to your computer and use it in GitHub Desktop.
Siesta logging improvements: after
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Siesta:configuration │ URL pattern ** compiles to regex ^https:\/\/api\.github\.com\/[^:?]*($|\?) | |
Siesta:configuration │ Added config 1 [**] | |
Siesta:configuration │ URL pattern /search/** compiles to regex ^https:\/\/api\.github\.com\/search\/[^:?]*($|\?) | |
Siesta:configuration │ Added config 2 [/search/**] | |
Siesta:configuration │ URL pattern /users/* compiles to regex ^https:\/\/api\.github\.com\/users\/[^/:?]*($|\?) | |
Siesta:configuration │ Added config 3 [/users/* : JSON → User] | |
Siesta:configuration │ URL pattern /users/*/repos compiles to regex ^https:\/\/api\.github\.com\/users\/[^/:?]*\/repos($|\?) | |
Siesta:configuration │ Added config 4 [/users/*/repos : JSON → Array<Repository>] | |
Siesta:configuration │ URL pattern /search/repositories compiles to regex ^https:\/\/api\.github\.com\/search\/repositories($|\?) | |
Siesta:configuration │ Added config 5 [/search/repositories : JSON → Array<Repository>] | |
Siesta:configuration │ URL pattern /repos/*/* compiles to regex ^https:\/\/api\.github\.com\/repos\/[^/:?]*\/[^/:?]*($|\?) | |
Siesta:configuration │ Added config 6 [/repos/*/* : JSON → Repository] | |
Siesta:configuration │ URL pattern /user/starred/*/* compiles to regex ^https:\/\/api\.github\.com\/user\/starred\/[^/:?]*\/[^/:?]*($|\?) | |
Siesta:configuration │ Added config 7 [/user/starred/*/*] | |
Siesta:configuration │ Added config 0 [Siesta default response parsers] | |
Siesta:staleness │ Resource(<no URL>)[] is not up to date: no error | no data | |
Siesta:observers │ Resource(<no URL>)[L] sending requested event to 0 observers | |
Siesta:configuration │ Computing configuration for GET Resource(…/search/repositories?order=desc&q=stars:%3E0&sort=updated)[] | |
Siesta:configuration │ ├╴Applying config 0 [Siesta default response parsers] | |
Siesta:configuration │ ├╴Applying config 1 [**] | |
Siesta:configuration │ ├╴Applying config 2 [/search/**] | |
Siesta:configuration │ ├╴Applying config 5 [/search/repositories : JSON → Array<Repository>] | |
Siesta:configuration │ └╴Resulting configuration | |
Siesta:configuration │ expirationTime: 10.0 sec | |
Siesta:configuration │ retryTime: 1.0 sec | |
Siesta:configuration │ progressReportingInterval: 0.05 sec | |
Siesta:configuration │ headers (1) | |
Siesta:configuration │ Authorization: Basic cGNhbnRyZWxsOmUwZWIxNDE4ZGRiZmVlNjUxOTZkMmRjNTgxMmVhZWIwNzY0MDM2NTU= | |
Siesta:configuration │ requestDecorators: 0 | |
Siesta:configuration │ pipeline | |
Siesta:configuration │ ║ rawData stage (no transformers) | |
Siesta:configuration │ ║ decoding stage (no transformers) | |
Siesta:configuration │ ║ parsing stage | |
Siesta:configuration │ ╟ ⟨*/json */*+json⟩ Data → NSJSONConvertible [transformErrors: true] | |
Siesta:configuration │ ╟ ⟨text/*⟩ Data → String [transformErrors: true] | |
Siesta:configuration │ ╟ ⟨image/*⟩ Data → UIImage | |
Siesta:configuration │ ╟ ⟨*/json⟩ AnyObject → JSON | |
Siesta:configuration │ ║ model stage | |
Siesta:configuration │ ╟ JSON → Array<Repository> | |
Siesta:configuration │ ║ cleanup stage | |
Siesta:configuration │ ╟ (GithubErrorMessageExtractor in _2C295CCEF9B4B65A957E43215F9BFBBD) | |
Siesta:staleness │ Resource(…/search/repositories?order=desc&q=stars:%3E0&sort=updated)[] is not up to date: no error | no data | |
Siesta:network │ GET https://api.github.com/search/repositories?order=desc&q=stars:%3E0&sort=updated | |
Siesta:observers │ Resource(…/search/repositories?order=desc&q=stars:%3E0&sort=updated)[L] sending requested event to 2 observers | |
Siesta:observers │ ↳ requested → <GithubBrowser.RepositoryListViewController: 0x100e1b7e0> | |
Siesta:observers │ ↳ requested → <Siesta.ResourceStatusOverlay: 0x100e04ca0; frame = (0 0; 375 667); hidden = YES; layer = <CALayer: 0x1700348e0>> | |
Siesta:stateChanges │ Resource(<no URL>)[] received error: RequestError(userMessage: "Cannot send request with invalid URL", httpStatusCode: nil, entity: nil, cause: Optional(Siesta.RequestError.Cause.InvalidURL(urlSource: nil)), timestamp: 496616867.368182) | |
Siesta:observers │ Resource(<no URL>)[E] sending error event to 1 observer | |
Siesta:observers │ ↳ error → ClosureObserver(RemoteImageView.swift:57) | |
Siesta:network │ Response: 200 ← GET https://api.github.com/search/repositories?order=desc&q=stars:%3E0&sort=updated | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ ├╴Transformer ⟨*/json */*+json⟩ Data → NSJSONConvertible [transformErrors: true] matches content type "application/json; charset=utf-8" | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ ├╴Applied transformer: Data → NSJSONConvertible [transformErrors: true] | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ │ ↳ success: { "incomplete_results" = 0; items = ( { "archive_url" = "https://api.github.com/… | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ ├╴Transformer ⟨*/json⟩ AnyObject → JSON matches content type "application/json; charset=utf-8" | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ ├╴Applied transformer: AnyObject → JSON | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ │ ↳ success: { "incomplete_results" : false, "total_count" : 3607989, "items" : [ { "keys_url… | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ ├╴Applied transformer: JSON → Array<Repository> | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ │ ↳ success: [GithubBrowser.Repository(url: "https://api.github.com/repos/mmendoza2/notelimit… | |
Siesta:pipeline │ thread ᏜᎥᏏᎻ └╴Response after pipeline: success: [GithubBrowser.Repository(url: "https://api.github.com/repos/mmendoza2/notelimit… | |
Siesta:stateChanges │ Resource(…/search/repositories?order=desc&q=stars:%3E0&sort=updated)[] received new data from network : Entity<Any>(content: [GithubBrowser.Repository(url: "https://api.github.com/repos/mmendoza2/notelimites", name: "notelimites", starCount: Optional(1), owner: GithubBrowser.User(login: "mmendoza2", repositoriesURL: "https://api.github.com/users/mmendoza2/repos", avatarURL: "https://avatars.githubuser… | |
Siesta:observers │ Resource(…/search/repositories?order=desc&q=stars:%3E0&sort=updated)[D] sending newData(network) event to 2 observers | |
Siesta:observers │ ↳ newData(network) → <GithubBrowser.RepositoryListViewController: 0x100e1b7e0> | |
Siesta:observers │ ↳ newData(network) → <Siesta.ResourceStatusOverlay: 0x100e04ca0; frame = (0 0; 375 536.5); layer = <CALayer: 0x1700348e0>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment