{"id":15405656,"url":"https://github.com/yazumoto/google-apps-script-file-logger","last_synced_at":"2025-07-05T15:16:36.179Z","repository":{"id":89074086,"uuid":"118149607","full_name":"yazumoto/google-apps-script-file-logger","owner":"yazumoto","description":"File Logging Library for Google Apps Script","archived":false,"fork":false,"pushed_at":"2018-01-19T16:44:19.000Z","size":1,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T01:32:10.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yazumoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-19T16:29:42.000Z","updated_at":"2022-08-27T17:28:03.000Z","dependencies_parsed_at":"2023-06-13T20:10:16.536Z","dependency_job_id":null,"html_url":"https://github.com/yazumoto/google-apps-script-file-logger","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"92a37a70b7ea4497041e9d776937851a5a528459"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazumoto%2Fgoogle-apps-script-file-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazumoto%2Fgoogle-apps-script-file-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazumoto%2Fgoogle-apps-script-file-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazumoto%2Fgoogle-apps-script-file-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yazumoto","download_url":"https://codeload.github.com/yazumoto/google-apps-script-file-logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239549701,"owners_count":19657535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T16:17:46.680Z","updated_at":"2025-02-18T20:44:41.597Z","avatar_url":"https://github.com/yazumoto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Google Apps Sciprt File Logger\n===\n\nFile logging library for Google Apps Script.\nYou can create Log Document File in your script file folder and logging to the file.\n\n## Install\n\nIn your Google Apps Script.\n\nMenu \u003e Resource \u003e Library...\n\nEnter `ScriptId` below.\n\n```\n1bWIXL3PmJQdgAjvUxY_qxStfTIdIMe7qwIqHq78XXzL3zyyVuhVvhI1S\n```\n\nNow you can use `FileLogger` class in your script.\n\n## Usage\n\nIn your function, you can just write your code like this.\n\n```\nfunction myFunction() {\n  FileLogger.logging(function(){\n    // your code here.\n    Logger.log('test log');\n  });\n}\n```\n\n=\u003e This will create a Document File name 'script.log' and write text below.\n\n```\nSat Jan 20 01:21:07 JST 2018 INFO: test log\n```\n\n`FileLogger.logging` has a callback parameter.\n`FileLogger` create `script.log` Document File in a folder script file in if it doesn't exist.\nEvery `Logger.log` in this callback are written to this log file after your code run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazumoto%2Fgoogle-apps-script-file-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyazumoto%2Fgoogle-apps-script-file-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazumoto%2Fgoogle-apps-script-file-logger/lists"}