pax_global_header00006660000000000000000000000064145537355420014527gustar00rootroot0000000000000052 comment=6d71462df9bf595d3861bfb328377346aceed422 aki2o-log4e-6d71462/000077500000000000000000000000001455373554200140235ustar00rootroot00000000000000aki2o-log4e-6d71462/.gitignore000066400000000000000000000000331455373554200160070ustar00rootroot00000000000000.cask *.elc *-autoloads.el aki2o-log4e-6d71462/.travis.yml000066400000000000000000000010221455373554200161270ustar00rootroot00000000000000language: emacs-lisp env: - EMACS=emacs24 - EMACS=emacs-snapshot matrix: allow_failures: - env: EMACS=emacs-snapshot before_install: # Install Emacs - sudo add-apt-repository -y ppa:cassou/emacs - sudo apt-get update -qq - sudo apt-get install -qq $EMACS # Install Cask - curl -fsSkL --max-time 10 --retry 10 --retry-delay 10 https://raw.github.com/cask/cask/master/go | python - export PATH="$HOME/.cask/bin:$PATH" - cask install script: make notifications: on_success: change on_failure: change aki2o-log4e-6d71462/Cask000066400000000000000000000004661455373554200146350ustar00rootroot00000000000000(source gnu) (source melpa) (source marmalade) (package-file "log4e.el") (development (depends-on "tenv" :git "https://github.com/aki2o/elisp-test.git" :files ("tenv.el")) (depends-on "el-expectations" :git "https://github.com/aki2o/elisp-test.git" :files ("el-expectations.el")) (depends-on "el-mock")) aki2o-log4e-6d71462/LICENSE000066400000000000000000001045131455373554200150340ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . aki2o-log4e-6d71462/Makefile000066400000000000000000000010721455373554200154630ustar00rootroot00000000000000EMACS ?= emacs CASK ?= cask all: ${MAKE} clean ${MAKE} test ${MAKE} compile ${MAKE} test ${MAKE} clean compile: ${CASK} exec ${EMACS} -Q --batch -L . --eval "(batch-byte-compile)" log4e.el test: ret=0 ; \ outfile=/tmp/.elisp-test-result ; \ for f in $$(find test -type f -name "*.el"); do \ test -f $$outfile && rm -f $$outfile ; \ ${CASK} exec ${EMACS} -Q --batch -L . -l $$f -f batch-expectations $$outfile || ret=1 ; \ test -f $$outfile && cat $$outfile ; \ done ; \ test $$ret -eq 0 clean: rm -f log4e.elc .PHONY: all compile test clean aki2o-log4e-6d71462/README.md000066400000000000000000000173551455373554200153150ustar00rootroot00000000000000[![Build Status](https://travis-ci.org/aki2o/log4e.svg?branch=master)](https://travis-ci.org/aki2o/log4e) # What's this? This is a extension of Emacs provides logging framework for Elisp. # Feature ### Define function for logging automatically Write the following sexp in your elisp file. ```lisp (log4e:deflogger "hoge" "%t [%l] %m" "%H:%M:%S") ``` Then, you can use the following function/command. - hoge–log-fatal - hoge–log-error - hoge–log-warn - hoge–log-info - hoge–log-debug - hoge–log-trace - hoge–log - hoge–log-fatal\* - hoge–log-error\* - hoge–log-warn\* - hoge–log-info\* - hoge–log-debug\* - hoge–log-trace\* - hoge–log\* - hoge–log-set-level - hoge–log-enable-logging - hoge–log-disable-logging - hoge–log-enable-debugging - hoge–log-disable-debugging - hoge–log-enable-messaging - hoge–log-disable-messaging - hoge–log-debugging-p - hoge–log-set-coding-system - hoge–log-set-author-mail-address - hoge–log-clear-log - hoge–log-open-log - hoge–log-open-log-if-debug For detail, see Usage section. ### font-lock on logging buffer Here is the image of logging buffer. ![demo1](image/demo1.png) The following face is used for font-lock on logging buffer. - font-lock-doc-face - font-lock-keyword-face - font-lock-string-face - font-lock-warning-face ### key binding on logging buffer The mode of logging buffer is log4e-mode which is based view-mode. The following binding is added. - `J` log4e:next-log … move to head of next log - `K` log4e:previous-log … move to head of previous log # Install ### If use package.el 2013/07/19 It's available by using melpa. ### If use el-get.el 2013/07/26 It's available. But, master branch only. ### If use auto-install.el ```lisp (auto-install-from-url "https://raw.github.com/aki2o/log4e/master/log4e.el") ``` ### Manually Download log4e.el and put it on your load-path. # Usage For example, develop elisp with prefix "hoge". ### Initially Write the following in the elisp. ```lisp (require 'log4e) (log4e:deflogger "hoge" "%t [%l] %m" "%H:%M:%S" '((fatal . "fatal") (error . "error") (warn . "warn") (info . "info") (debug . "debug") (trace . "trace"))) ``` `log4e:deflogger` receives the following arguments. 1. The elisp prefix. 2. Format of log. The following words has a special meaning in it. - %t … Replaced with the 3rd argument. - %l … Replaced with LogLevel. - %m … Replaced with given message by the logging function. About them, see Coding section below. 3. Format of time. This value is passed to \`format-time-string\` and replaced with its returend. 4. Alist of the logging function name. This is optional. If nil, This value is \`log4e-default-logging-function-name-alist\`. ### Coding Develop the elisp with logging. ```lisp (defun hoge-do-hoge (hoge) (if (not (stringp hoge)) (progn (hoge--fatal "failed do hoge : hoge is '%s'" hoge) (hoge--log-open-log-if-debug)) (hoge--debug "start do hoge about '%s'" hoge) (message "hoge!") (hoge--info "done hoge about '%s'" hoge))) ``` The logging functions are named by the 4th argument of `log4e:deflogger`. The arguments of them are passed to `format` and its returned is used for the message part of log. The returned of them is always nil. ### Enable/Disable logging By default, logging is disabled. For doing logging, use `hoge--log-enable-logging`. If you want to do logging anytime, write `hoge--log-enable-logging` in the elisp. For stopping logging, use `hoge--log-disable-logging`. ### Set range of logging level By default, The logging range is from 'info' to 'fatal'. So, eval the following … ```lisp (hoge-do-hoge "HOGEGE") (hoge--log-open-log) ``` Then, the buffer is displayed that named ' \\\*log4e-hoge\\\*'. And the string is like the following. ``` 12:34:56 [INFO ] done hoge about 'HOGEGE' ``` If you change the logging range, eval the following sexp. ```lisp (hoge--log-set-level 'debug 'fatal) ``` Then, eval the following … ```lisp (hoge-do-hoge "FUGAGA") (hoge--log-open-log) ``` Then, the buffer is displayed that named ' \\\*log4e-hoge\\\*'. And the string is like the following. ``` 12:34:56 [INFO ] done hoge about 'HOGEGE' 12:35:43 [DEBUG] start do hoge about 'FUGAGA' 12:35:43 [INFO ] done hoge about 'FUGAGA' ``` If you change the logging range anytime, write `hoge--log-set-level` in the elisp. `hoge--log-set-level` receive the following arguments. 1. The lowest level for doing logging. Its list is 'trace', 'debug', 'info', 'warn', 'error' and 'fatal'. 2. The highest level for doing logging. This is optional. If nil, This value is 'fatal'. ### For debug When you debug the elisp, eval the following … ```lisp (hoge--log-enable-debugging) (hoge-do-hoge 'hogege) ``` Then, the buffer is displayed that named ' \\\*log4e-hoge\\\*'. And the string is like the following. ``` 12:34:56 [INFO ] done hoge about 'HOGEGE' 12:35:43 [DEBUG] start do hoge about 'FUGAGA' 12:35:43 [INFO ] done hoge about 'FUGAGA' 12:54:32 [FATAL] failed do hoge : hoge is 'hogege' ``` If you want to stop debugging, use `hoge--log-disable-debugging`. If you want to verify activity of debugging in the elisp, use `hoge--log-debugging-p`. By using `hoge--log-enable-debugging`, logging is enabled too. ### Dump log into other buffer You are able to dump the same log into other area with logging to standard log buffer by `hoge--log-enable-messaging`. The command receives an argument as a buffer. In default, it's echo area. For stopping to dump, use `hoge--log-disable-messaging`. ### Inhibit logging statement evaluation Arguments of logging function are evaluated even if the logging level is not a logging range or logging is disabled like the following code. ```lisp (hoge--log-set-level 'info 'fatal) (hoge--log-disable-logging) (hoge--debug "%s" (very-big-cost-function)) ; <= This is done in any situation (some-action) ; <= This will be not started until very-big-cost-function is finished ``` In the case, you are able to inhibit the evaluation using a macro version of the logging function like the following code. ```lisp (hoge--log-set-level 'info 'fatal) (hoge--log-disable-logging) (hoge--debug* "%s" (very-big-cost-function)) ; <= This is done only if this should be logged (some-action) ; <= This will be started soon ``` But, if the macro version is used frequently, the compiled file size might come big. ### Free log level function If you want to do logging with changing log level by some condition locally, use `hoge--log`. `hoge--log` is base of the logging function. About them, see Coding section above. It receive a log level as 1st argument. ### Insert logging statement quickly You are able to insert logging statement quickly using `log4e:insert-start-log-quickly`. ![insert1](image/insert1.png) ![insert2](image/insert2.png) If you want to bind some key to the command, write like the following in your .emacs or site-start.el file. ```lisp (define-key emacs-lisp-mode-map (kbd "C-\\") 'log4e:insert-start-log-quickly) ``` ### Clean log buffer If you want to clear the log buffer named ' \\\*log4e-hoge\\\*', use `hoge--log-clear-log`. # Tested On - Emacs … GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-08-15 on GNUPACK **Enjoy!!!** aki2o-log4e-6d71462/README.org000066400000000000000000000202601455373554200154710ustar00rootroot00000000000000#+OPTIONS: toc:nil [[travis-build:aki2o/log4e#master]] * What's this? This is a extension of Emacs provides logging framework for Elisp. * Feature *** Define function for logging automatically Write the following sexp in your elisp file. #+BEGIN_SRC lisp (log4e:deflogger "hoge" "%t [%l] %m" "%H:%M:%S") #+END_SRC Then, you can use the following function/command. - hoge--log-fatal - hoge--log-error - hoge--log-warn - hoge--log-info - hoge--log-debug - hoge--log-trace - hoge--log - hoge--log-fatal* - hoge--log-error* - hoge--log-warn* - hoge--log-info* - hoge--log-debug* - hoge--log-trace* - hoge--log* - hoge--log-set-level - hoge--log-enable-logging - hoge--log-disable-logging - hoge--log-enable-debugging - hoge--log-disable-debugging - hoge--log-enable-messaging - hoge--log-disable-messaging - hoge--log-debugging-p - hoge--log-set-coding-system - hoge--log-set-author-mail-address - hoge--log-clear-log - hoge--log-open-log - hoge--log-open-log-if-debug For detail, see Usage section. *** font-lock on logging buffer Here is the image of logging buffer. [[file:image/demo1.png][demo1]] The following face is used for font-lock on logging buffer. - font-lock-doc-face - font-lock-keyword-face - font-lock-string-face - font-lock-warning-face *** key binding on logging buffer The mode of logging buffer is log4e-mode which is based view-mode. The following binding is added. - =J= log4e:next-log ... move to head of next log - =K= log4e:previous-log ... move to head of previous log * Install *** If use package.el 2013/07/19 It's available by using melpa. *** If use el-get.el 2013/07/26 It's available. But, master branch only. *** If use auto-install.el #+BEGIN_SRC lisp (auto-install-from-url "https://raw.github.com/aki2o/log4e/master/log4e.el") #+END_SRC *** Manually Download log4e.el and put it on your load-path. * Usage For example, develop elisp with prefix "hoge". *** Initially Write the following in the elisp. #+BEGIN_SRC lisp (require 'log4e) (log4e:deflogger "hoge" "%t [%l] %m" "%H:%M:%S" '((fatal . "fatal") (error . "error") (warn . "warn") (info . "info") (debug . "debug") (trace . "trace"))) #+END_SRC =log4e:deflogger= receives the following arguments. 1. The elisp prefix. 2. Format of log. The following words has a special meaning in it. - %t ... Replaced with the 3rd argument. - %l ... Replaced with LogLevel. - %m ... Replaced with given message by the logging function. About them, see Coding section below. 3. Format of time. This value is passed to `format-time-string` and replaced with its returend. 4. Alist of the logging function name. This is optional. If nil, This value is `log4e-default-logging-function-name-alist`. *** Coding Develop the elisp with logging. #+BEGIN_SRC lisp (defun hoge-do-hoge (hoge) (if (not (stringp hoge)) (progn (hoge--fatal "failed do hoge : hoge is '%s'" hoge) (hoge--log-open-log-if-debug)) (hoge--debug "start do hoge about '%s'" hoge) (message "hoge!") (hoge--info "done hoge about '%s'" hoge))) #+END_SRC The logging functions are named by the 4th argument of =log4e:deflogger=. The arguments of them are passed to =format= and its returned is used for the message part of log. The returned of them is always nil. *** Enable/Disable logging By default, logging is disabled. For doing logging, use =hoge--log-enable-logging=. If you want to do logging anytime, write =hoge--log-enable-logging= in the elisp. For stopping logging, use =hoge--log-disable-logging=. *** Set range of logging level By default, The logging range is from 'info' to 'fatal'. So, eval the following ... #+BEGIN_SRC lisp (hoge-do-hoge "HOGEGE") (hoge--log-open-log) #+END_SRC Then, the buffer is displayed that named ' \*log4e-hoge\*'. And the string is like the following. #+BEGIN_SRC 12:34:56 [INFO ] done hoge about 'HOGEGE' #+END_SRC If you change the logging range, eval the following sexp. #+BEGIN_SRC lisp (hoge--log-set-level 'debug 'fatal) #+END_SRC Then, eval the following ... #+BEGIN_SRC lisp (hoge-do-hoge "FUGAGA") (hoge--log-open-log) #+END_SRC Then, the buffer is displayed that named ' \*log4e-hoge\*'. And the string is like the following. #+BEGIN_SRC 12:34:56 [INFO ] done hoge about 'HOGEGE' 12:35:43 [DEBUG] start do hoge about 'FUGAGA' 12:35:43 [INFO ] done hoge about 'FUGAGA' #+END_SRC If you change the logging range anytime, write =hoge--log-set-level= in the elisp. =hoge--log-set-level= receive the following arguments. 1. The lowest level for doing logging. Its list is 'trace', 'debug', 'info', 'warn', 'error' and 'fatal'. 2. The highest level for doing logging. This is optional. If nil, This value is 'fatal'. *** For debug When you debug the elisp, eval the following ... #+BEGIN_SRC lisp (hoge--log-enable-debugging) (hoge-do-hoge 'hogege) #+END_SRC Then, the buffer is displayed that named ' \*log4e-hoge\*'. And the string is like the following. #+BEGIN_SRC 12:34:56 [INFO ] done hoge about 'HOGEGE' 12:35:43 [DEBUG] start do hoge about 'FUGAGA' 12:35:43 [INFO ] done hoge about 'FUGAGA' 12:54:32 [FATAL] failed do hoge : hoge is 'hogege' #+END_SRC If you want to stop debugging, use =hoge--log-disable-debugging=. If you want to verify activity of debugging in the elisp, use =hoge--log-debugging-p=. By using =hoge--log-enable-debugging=, logging is enabled too. *** Dump log into other buffer You are able to dump the same log into other area with logging to standard log buffer by =hoge--log-enable-messaging=. The command receives an argument as a buffer. In default, it's echo area. For stopping to dump, use =hoge--log-disable-messaging=. *** Inhibit logging statement evaluation Arguments of logging function are evaluated even if the logging level is not a logging range or logging is disabled like the following code. #+BEGIN_SRC lisp (hoge--log-set-level 'info 'fatal) (hoge--log-disable-logging) (hoge--debug "%s" (very-big-cost-function)) ; <= This is done in any situation (some-action) ; <= This will be not started until very-big-cost-function is finished #+END_SRC In the case, you are able to inhibit the evaluation using a macro version of the logging function like the following code. #+BEGIN_SRC lisp (hoge--log-set-level 'info 'fatal) (hoge--log-disable-logging) (hoge--debug* "%s" (very-big-cost-function)) ; <= This is done only if this should be logged (some-action) ; <= This will be started soon #+END_SRC But, if the macro version is used frequently, the compiled file size might come big. *** Free log level function If you want to do logging with changing log level by some condition locally, use =hoge--log=. =hoge--log= is base of the logging function. About them, see Coding section above. It receive a log level as 1st argument. *** Insert logging statement quickly You are able to insert logging statement quickly using =log4e:insert-start-log-quickly=. [[file:image/insert1.png][insert1]] [[file:image/insert2.png][insert2]] If you want to bind some key to the command, write like the following in your .emacs or site-start.el file. #+BEGIN_SRC lisp (define-key emacs-lisp-mode-map (kbd "C-\\") 'log4e:insert-start-log-quickly) #+END_SRC *** Clean log buffer If you want to clear the log buffer named ' \*log4e-hoge\*', use =hoge--log-clear-log=. * Tested On - Emacs ... GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-08-15 on GNUPACK *Enjoy!!!* aki2o-log4e-6d71462/image/000077500000000000000000000000001455373554200151055ustar00rootroot00000000000000aki2o-log4e-6d71462/image/demo1.png000066400000000000000000001023241455373554200166220ustar00rootroot00000000000000PNG  IHDROsRGBgAMA a cHRMz&u0`:pQ<RIDATx^\Wy]sj ^{ᮕ?a[LxN0p=<[%YRdmy"% $1&h%KeMM"K$}g}TuUwT|}g'\p9zhnRm U }j}J!ى66'NbWAoxq|Mx|'71zϏǟJbQ2u{o@P)u*>ɥVrjF*(X %+7_(b+Ʋ'iKёjR(zZQw.Oa=K$NPu)bDxLީֱ+)ӎ@5+qRJU*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ustar00rootroot00000000000000;;; log4e.el --- provide logging framework for elisp ;; Copyright (C) 2013 Hiroaki Otsu ;; Author: Hiroaki Otsu ;; Keywords: log ;; URL: https://github.com/aki2o/log4e ;; Version: 0.4.1 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . ;;; Commentary: ;; ;; This extension provides logging framework for elisp. ;; ;; For detail, see ;; ;; Enjoy!!! ;;; Code: (require 'cl-lib) (require 'rx) (defconst log4e-log-level-alist '((fatal . 6) (error . 5) (warn . 4) (info . 3) (debug . 2) (trace . 1)) "Alist of log level value.") (defconst log4e-default-logging-function-name-alist '((fatal . "log-fatal") (error . "log-error") (warn . "log-warn") (info . "log-info") (debug . "log-debug") (trace . "log-trace")) "Alist of logging function name at default.") (defmacro log4e--def-symmaker (symnm) `(progn (defsubst ,(intern (concat "log4e--make-symbol-" symnm)) (prefix) (intern (concat ,(format "log4e--%s-" symnm) prefix))))) (log4e--def-symmaker "log-buffer") (log4e--def-symmaker "msg-buffer") (log4e--def-symmaker "log-template") (log4e--def-symmaker "time-template") (log4e--def-symmaker "min-level") (log4e--def-symmaker "max-level") (log4e--def-symmaker "toggle-logging") (log4e--def-symmaker "toggle-debugging") (log4e--def-symmaker "buffer-coding-system") (log4e--def-symmaker "author-mail-address") (defmacro log4e--def-level-logger (prefix suffix level) (let ((argform (if suffix '(msg &rest msgargs) '(level msg &rest msgargs))) (buff (log4e--make-symbol-log-buffer prefix)) (msgbuff (log4e--make-symbol-msg-buffer prefix)) (codsys (log4e--make-symbol-buffer-coding-system prefix)) (logtmpl (log4e--make-symbol-log-template prefix)) (timetmpl (log4e--make-symbol-time-template prefix)) (minlvl (log4e--make-symbol-min-level prefix)) (maxlvl (log4e--make-symbol-max-level prefix)) (logging-p (log4e--make-symbol-toggle-logging prefix))) `(progn ;; Define logging function (defun ,(intern (concat prefix "--" (or suffix "log"))) ,argform ,(format "Do logging for %s level log. %sMSG/MSGARGS are passed to `format'." (if suffix level "any") (if suffix "" "LEVEL is symbol that is one of trace debug info warn error fatal.\n")) (let ((log4e--current-msg-buffer ,msgbuff)) ,(if suffix `(apply 'log4e--logging ,buff ,codsys ,logtmpl ,timetmpl ,minlvl ,maxlvl ,logging-p ',level msg msgargs) `(apply 'log4e--logging ,buff ,codsys ,logtmpl ,timetmpl ,minlvl ,maxlvl ,logging-p level msg msgargs)))) ;; Define logging macro (defmacro ,(intern (concat prefix "--" (or suffix "log") "*")) ,argform ,(format "Do logging for %s level log. %sMSG/MSGARGS are passed to `format'. Evaluation of MSGARGS is invoked only if %s level log should be printed." (if suffix level "any") (if suffix "" "LEVEL is symbol that is one of trace debug info warn error fatal.\n") (if suffix level "the")) (let (,@(if suffix (list `(level ',level)) '()) (buff (log4e--make-symbol-log-buffer ,prefix)) (msgbuff (log4e--make-symbol-msg-buffer ,prefix)) (codsys (log4e--make-symbol-buffer-coding-system ,prefix)) (logtmpl (log4e--make-symbol-log-template ,prefix)) (timetmpl (log4e--make-symbol-time-template ,prefix)) (minlvl (log4e--make-symbol-min-level ,prefix)) (maxlvl (log4e--make-symbol-max-level ,prefix)) (logging-p (log4e--make-symbol-toggle-logging ,prefix))) `(let ((log4e--current-msg-buffer ,msgbuff)) (when (and ,logging-p (log4e--logging-level-p ,minlvl ,maxlvl ',level)) (log4e--logging ,buff ,codsys ,logtmpl ,timetmpl ,minlvl ,maxlvl ,logging-p ',level ,msg ,@msgargs))))) ))) (defsubst log4e--logging-level-p (minlevel maxlevel currlevel) (let ((minlvlvalue (or (assoc-default minlevel log4e-log-level-alist) 1)) (maxlvlvalue (or (assoc-default maxlevel log4e-log-level-alist) 6)) (currlvlvalue (or (assoc-default currlevel log4e-log-level-alist) 0))) (and (>= currlvlvalue minlvlvalue) (<= currlvlvalue maxlvlvalue)))) (defsubst log4e--get-or-create-log-buffer (buffnm &optional codesys) (or (get-buffer buffnm) (let ((buff (get-buffer-create buffnm))) (with-current-buffer buff (log4e-mode) (when codesys (setq buffer-file-coding-system codesys))) buff))) (defvar log4e--regexp-msg-format (rx-to-string `(and "%" (* (any "+#-0")) ; flags (* (any "0-9")) ; width (? "." (+ (any "0-9"))) ; precision (any "a-zA-Z")))) (defsubst log4e--insert-log (logtmpl timetmpl level msg msgargs propertize-p) (let ((timetext (format-time-string timetmpl)) (lvltext (format "%-05s" (upcase (symbol-name level)))) (buffer-read-only nil)) (when propertize-p (put-text-property 0 (length timetext) 'face 'font-lock-doc-face timetext) (put-text-property 0 (length lvltext) 'face 'font-lock-keyword-face lvltext)) (let* ((logtext logtmpl) (logtext (replace-regexp-in-string "%t" timetext logtext)) (logtext (replace-regexp-in-string "%l" lvltext logtext)) (logtext (replace-regexp-in-string "%m" msg logtext)) (begin (point))) (insert logtext "\n") (when propertize-p (put-text-property begin (+ begin 1) 'log4e--level level)) (cl-loop initially (goto-char begin) while (and msgargs (re-search-forward log4e--regexp-msg-format nil t)) do (let* ((currtype (match-string-no-properties 0)) (currarg (pop msgargs)) (failfmt nil) (currtext (condition-case e (format currtype currarg) (error (setq failfmt t) (format "=%s=" (error-message-string e)))))) (save-match-data (when propertize-p (ignore-errors (cond (failfmt (put-text-property 0 (length currtext) 'face 'font-lock-warning-face currtext)) (t (put-text-property 0 (length currtext) 'face 'font-lock-string-face currtext)))))) (replace-match currtext t t))) (goto-char begin)))) (defvar log4e--current-msg-buffer nil) ;; We needs this signature be stay for other compiled plugins using old version (defun log4e--logging (buffnm codsys logtmpl timetmpl minlevel maxlevel logging-p level msg &rest msgargs) (when (and logging-p (log4e--logging-level-p minlevel maxlevel level)) (save-match-data (with-current-buffer (log4e--get-or-create-log-buffer buffnm codsys) (goto-char (point-max)) (let* ((buffer-read-only nil) (begin (point)) (currlog (progn (log4e--insert-log logtmpl timetmpl level msg msgargs t) (goto-char (point-max)) (buffer-substring-no-properties begin (point)))) (msgbuf (or (when (and log4e--current-msg-buffer (not (eq log4e--current-msg-buffer t))) (ignore-errors (get-buffer log4e--current-msg-buffer))) log4e--current-msg-buffer))) (when msgbuf (let ((standard-output (if (buffer-live-p msgbuf) msgbuf standard-output))) (princ currlog)))) nil)))) (defun log4e--get-current-log-line-level () (save-excursion (beginning-of-line) (get-text-property (point) 'log4e--level))) ;; We needs this signature be stay for other plugins compiled with this old version (defun log4e--clear-log (buffnm) (with-current-buffer (log4e--get-or-create-log-buffer buffnm) (setq buffer-read-only nil) (erase-buffer))) ;; We needs this signature be stay for other plugins compiled with this old version (defun log4e--open-log (buffnm) (let* ((buff (get-buffer buffnm))) (if (not (buffer-live-p buff)) (message "[Log4E] Not exist log buffer.") (with-current-buffer buff (setq buffer-read-only t)) (pop-to-buffer buff)))) ;; We needs this signature be stay for other plugins compiled with this old version (defun log4e--open-log-if-debug (buffnm dbg) (when dbg (log4e--open-log buffnm))) ;; (defun log4e--send-report-if-not-debug (buffnm dbg addr prefix) ;; (let* ((buff (get-buffer buffnm))) ;; (when (and (not dbg) ;; (stringp addr) ;; (buffer-live-p buff)) ;; (reporter-submit-bug-report addr prefix nil nil nil nil)))) (defmacro log4e:deflogger (prefix msgtmpl timetmpl &optional log-function-name-custom-alist) "Define the functions of logging for your elisp. Specification: The following features are provided by evaluating this. - do logging for each log level. - set max and min log level. - switch logging. - switch debugging. - open and clear log buffer. - send bug report for you. For details, see Functions section. Argument: - PREFIX is string as your elisp prefix. - MSGTMPL is string as format of log. - %t : Replaced with time string. About it, see TIMETMPL argument. - %l : Replaced with log level that's TRACE, DEBUG, INFO, WARN, ERROR, FATAL. - %m : Replaced with log message that passed by you. - TIMETMPL is string as format of time that's passed to `format-time-string'. - LOG-FUNCTION-NAME-CUSTOM-ALIST is alist as the function name of logging. - If this value is nil, define the following functions. yourprefix--log-trace yourprefix--log-debug ... yourprefix--log-fatal - If you want to custom the name of them, give like the following value. \\='((fatal . \"fatal\") (error . \"error\") (warn . \"warn\") (info . \"info\") (debug . \"debug\") (trace . \"trace\")) Then, define the following functions. yourprefix--trace yourprefix--debug ... yourprefix--fatal Functions: List all functions defined below. PREFIX is your prefix. - PREFIX--log-fatal ... #1 - PREFIX--log-error ... #1 - PREFIX--log-warn ... #1 - PREFIX--log-info ... #1 - PREFIX--log-debug ... #1 - PREFIX--log-trace ... #1 - PREFIX--log-fatal* ... #2 - PREFIX--log-error* ... #2 - PREFIX--log-warn* ... #2 - PREFIX--log-info* ... #2 - PREFIX--log-debug* ... #2 - PREFIX--log-trace* ... #2 - PREFIX--log - PREFIX--log-set-level - PREFIX--log-enable-logging ... #3 - PREFIX--log-disable-logging ... #3 - PREFIX--log-enable-messaging ... #3 - PREFIX--log-disable-messaging ... #3 - PREFIX--log-enable-debugging ... #3 - PREFIX--log-disable-debugging ... #3 - PREFIX--log-debugging-p - PREFIX--log-set-coding-system - PREFIX--log-set-author-mail-address - PREFIX--log-clear-log ... #3 - PREFIX--log-open-log ... #3 - PREFIX--log-open-log-if-debug #1 : You can customize this name #2 : Name is a #1 name + \"*\" #3 : This is command Example: ;; If you develop elisp that has prefix \"hoge\", ;; write and eval the following sexp in your elisp file. (require \\='log4e) (log4e:deflogger \"hoge\" \"%t [%l] %m\" \"%H:%M:%S\") ;; Eval the following (hoge--log-enable-logging) ;; Then, write the following (defun hoge-do-hoge (hoge) (if (not (stringp hoge)) (hoge--log-fatal \"failed do hoge : hoge is %s\" hoge) (hoge--log-debug \"start do hoge about %s\" hoge) (message \"hoge!\") (hoge--log-info \"done hoge about %s\" hoge))) ;; Eval the following (hoge-do-hoge \"HOGEGE\") ;; Do M-x hoge--log-open-log ;; Open the buffer which name is \" *log4e-hoge*\". The buffer string is below 12:34:56 [INFO ] done hoge about HOGEGE ;; Eval the following (hoge--log-set-level \\='trace) (hoge-do-hoge \"FUGAGA\") ;; Do M-x hoge--log-open-log ;; Open the buffer. its string is below 12:34:56 [INFO ] done hoge about HOGEGE 12:35:43 [DEBUG] start do hoge about FUGAGA 12:35:43 [INFO ] done hoge about FUGAGA " (declare (indent 0)) (if (or (not (stringp prefix)) (string= prefix "") (not (stringp msgtmpl)) (string= msgtmpl "") (not (stringp timetmpl)) (string= timetmpl "")) (message "[LOG4E] invalid argument of deflogger") (let* ((bufsym (log4e--make-symbol-log-buffer prefix)) (msgbufsym (log4e--make-symbol-msg-buffer prefix)) (logtmplsym (log4e--make-symbol-log-template prefix)) (timetmplsym (log4e--make-symbol-time-template prefix)) (minlvlsym (log4e--make-symbol-min-level prefix)) (maxlvlsym (log4e--make-symbol-max-level prefix)) (tglsym (log4e--make-symbol-toggle-logging prefix)) (dbgsym (log4e--make-symbol-toggle-debugging prefix)) (codsyssym (log4e--make-symbol-buffer-coding-system prefix)) (addrsym (log4e--make-symbol-author-mail-address prefix)) (funcnm-alist (cl-loop with custom-alist = (car (cdr log-function-name-custom-alist)) for lvl in '(fatal error warn info debug trace) for lvlpair = (assq lvl custom-alist) for fname = (or (cdr-safe lvlpair) "") collect (or (if (string-match "\*" fname) (progn (message "[LOG4E] ignore %s level name in log-function-name-custom-alist. can't use '*' for the name." lvl) nil) lvlpair) (assq lvl log4e-default-logging-function-name-alist))))) `(progn ;; Define variable for prefix (defvar ,bufsym (format " *log4e-%s*" ,prefix)) (defvar ,logtmplsym ,msgtmpl) (defvar ,timetmplsym ,timetmpl) (defvar ,minlvlsym 'info) (defvar ,maxlvlsym 'fatal) (defvar ,tglsym nil) (defvar ,msgbufsym nil) (defvar ,dbgsym nil) (defvar ,codsyssym nil) (defvar ,addrsym nil) ;; Define level set function (defun ,(intern (concat prefix "--log-set-level")) (minlevel &optional maxlevel) "Set range for doing logging. MINLEVEL is symbol of lowest level for doing logging. its default is \\='info. MAXLEVEL is symbol of highest level for doing logging. its default is \\='fatal." (setq ,minlvlsym minlevel) (setq ,maxlvlsym maxlevel)) ;; Define logging toggle function (defun ,(intern (concat prefix "--log-enable-logging")) () "Enable logging by logging functions." (interactive) (setq ,tglsym t)) (defun ,(intern (concat prefix "--log-disable-logging")) () "Disable logging by logging functions." (interactive) (setq ,tglsym nil)) ;; Define messaging toggle function (defun ,(intern (concat prefix "--log-enable-messaging")) (&optional buffer) "Enable dump the log into other buffer by logging functions. BUFFER is a buffer dumped log into. nil means *Messages* buffer." (interactive) (setq ,msgbufsym (or buffer t))) (defun ,(intern (concat prefix "--log-disable-messaging")) () "Disable dump the log into other buffer by logging functions." (interactive) (setq ,msgbufsym nil)) ;; Define debugging toggle function (defun ,(intern (concat prefix "--log-enable-debugging")) () "Enable debugging and logging. `PREFIX--log-debugging-p' will return t." (interactive) (setq ,tglsym t) (setq ,dbgsym t)) (defun ,(intern (concat prefix "--log-disable-debugging")) () "Disable debugging. `PREFIX--log-debugging-p' will return nil." (interactive) (setq ,dbgsym nil)) (defun ,(intern (concat prefix "--log-debugging-p")) () ,dbgsym) ;; Define coding system set funtion (defun ,(intern (concat prefix "--log-set-coding-system")) (coding-system) "Set charset and linefeed of LOG-BUFFER. CODING-SYSTEM is symbol for setting to `buffer-file-coding-system'. LOG-BUFFER is a buffer which name is \" *log4e-PREFIX*\"." (setq ,codsyssym coding-system)) ;; ;; Define author mail set function ;; (defun ,(intern (concat prefix "--log-set-author-mail-address")) (before-atmark after-atmark) ;; "Set mail address of author for elisp that has PREFIX. This value is used SEND-REPORT. ;; BEFORE-ATMARK is string as part of mail address. If your address is \"hoge@example.co.jp\", it is \"hoge\". ;; AFTER-ATMARK is string as part of mail address. If your address is \"hoge@example.co.jp\", it is \"example.co.jp\". ;; SEND-REPORT is `PREFIX--log-send-report-if-not-debug'." ;; (setq ,addrsym (concat before-atmark "@" after-atmark))) ;; Define log buffer handle function (defun ,(intern (concat prefix "--log-clear-log")) () "Clear buffer string of buffer which name is \" *log4e-PREFIX*\"." (interactive) (log4e--clear-log ,bufsym)) (defun ,(intern (concat prefix "--log-open-log")) () "Open buffer which name is \" *log4e-PREFIX*\"." (interactive) (log4e--open-log ,bufsym)) (defun ,(intern (concat prefix "--log-open-log-if-debug")) () "Open buffer which name is \" *log4e-PREFIX*\" if debugging is enabled." (log4e--open-log-if-debug ,bufsym ,dbgsym)) ;; ;; Define report send function ;; (defun ,(intern (concat prefix "--log-send-report-if-not-debug")) () ;; "Send bug report to author if debugging is disabled. ;; The author mailaddress is set by `PREFIX--log-set-author-mail-address'. ;; About the way of sending bug report, see `reporter-submit-bug-report'." ;; (log4e--send-report-if-not-debug ,bufsym ,dbgsym ,addrsym ,prefix)) ;; Define each level logging function (log4e--def-level-logger ,prefix nil nil) (log4e--def-level-logger ,prefix ,(assoc-default 'fatal funcnm-alist) fatal) (log4e--def-level-logger ,prefix ,(assoc-default 'error funcnm-alist) error) (log4e--def-level-logger ,prefix ,(assoc-default 'warn funcnm-alist) warn) (log4e--def-level-logger ,prefix ,(assoc-default 'info funcnm-alist) info) (log4e--def-level-logger ,prefix ,(assoc-default 'debug funcnm-alist) debug) (log4e--def-level-logger ,prefix ,(assoc-default 'trace funcnm-alist) trace) )))) ;;;###autoload (define-derived-mode log4e-mode view-mode "Log4E" "Major mode for browsing a buffer made by log4e. \\ \\{log4e-mode-map}" (define-key log4e-mode-map (kbd "J") 'log4e:next-log) (define-key log4e-mode-map (kbd "K") 'log4e:previous-log)) (defun log4e:next-log () "Move to start of next log on log4e-mode." (interactive) (let* ((level)) (while (and (not level) (< (point) (point-max))) (forward-line 1) (setq level (log4e--get-current-log-line-level))) level)) (defun log4e:previous-log () "Move to start of previous log on log4e-mode." (interactive) (let* ((level)) (while (and (not level) (> (point) (point-min))) (forward-line -1) (setq level (log4e--get-current-log-line-level))) level)) ;;;###autoload (defun log4e:insert-start-log-quickly () "Insert logging statment for trace level log at start of current function/macro." (interactive) (let* ((fstartpt (when (re-search-backward "(\\(?:defun\\|defmacro\\|defsubst\\)\\*? +\\([^ ]+\\) +(\\([^)]*\\))" nil t) (point))) (fncnm (when fstartpt (match-string-no-properties 1))) (argtext (when fstartpt (match-string-no-properties 2))) (prefix (save-excursion (goto-char (point-min)) (cl-loop while (re-search-forward "(log4e:deflogger[ \n]+\"\\([^\"]+\\)\"" nil t) for prefix = (match-string-no-properties 1) for currface = (get-text-property (match-beginning 0) 'face) if (not (eq currface 'font-lock-comment-face)) return prefix)))) (when (and fstartpt prefix) (let* ((fncnm (replace-regexp-in-string (concat "\\`" prefix "[^a-zA-Z0-9]+") "" fncnm)) (fncnm (replace-regexp-in-string "-" " " fncnm)) (argtext (replace-regexp-in-string "\n" " " argtext)) (argtext (replace-regexp-in-string "^ +" "" argtext)) (argtext (replace-regexp-in-string " +$" "" argtext)) (args (split-string argtext " +")) (args (cl-loop for arg in args if (and (not (string= arg "")) (not (string-match "\\`&" arg))) collect arg)) (logtext (cl-loop with ret = (format "start %s." fncnm) for arg in args do (setq ret (concat ret " " arg "[%s]")) finally return ret)) (sexpformat (cl-loop with ret = "(%s--log 'trace \"%s\"" for arg in args do (setq ret (concat ret " %s")) finally return (concat ret ")"))) (inserttext (apply 'format sexpformat prefix logtext args))) (forward-char) (forward-sexp 3) (when (re-search-forward "\\=[ \n]+\"" nil t) (forward-char -1) (forward-sexp)) (newline-and-indent) (insert inserttext))))) (provide 'log4e) ;;; log4e.el ends here aki2o-log4e-6d71462/test/000077500000000000000000000000001455373554200150025ustar00rootroot00000000000000aki2o-log4e-6d71462/test/debugging.el000066400000000000000000000012461455373554200172620ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "debugging default") (expect nil (makunbound 'log4e--toggle-debugging-hoge) (log4e:deflogger "hoge" "%t [%l] %m" "%H:%M:%S") (hoge--log-debugging-p)) (desc "debugging enable") (expect t (makunbound 'log4e--toggle-debugging-hoge) (log4e:deflogger "hoge" "%t [%l] %m" "%H:%M:%S") (hoge--log-enable-debugging) (hoge--log-debugging-p)) (desc "debugging disable") (expect nil (makunbound 'log4e--toggle-debugging-hoge) (log4e:deflogger "hoge" "%t [%l] %m" "%H:%M:%S") (hoge--log-enable-debugging) (hoge--log-disable-debugging) (hoge--log-debugging-p)) ) aki2o-log4e-6d71462/test/deflogger.el000066400000000000000000000041701455373554200172640ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "deflogger define variable") (expect t (log4e:deflogger "hoge" "%m" "%S") (and (boundp 'log4e--log-buffer-hoge) (boundp 'log4e--log-template-hoge) (boundp 'log4e--time-template-hoge) (boundp 'log4e--min-level-hoge) (boundp 'log4e--max-level-hoge) (boundp 'log4e--toggle-logging-hoge) (boundp 'log4e--toggle-debugging-hoge) (boundp 'log4e--buffer-coding-system-hoge) (boundp 'log4e--author-mail-address-hoge))) (desc "deflogger define function") (expect t (log4e:deflogger "hoge" "%m" "%S") (and (fboundp 'hoge--log-set-level) (fboundp 'hoge--log-enable-logging) (fboundp 'hoge--log-disable-logging) (fboundp 'hoge--log-enable-debugging) (fboundp 'hoge--log-disable-debugging) (fboundp 'hoge--log-debugging-p) (fboundp 'hoge--log-set-coding-system) (fboundp 'hoge--log) (fboundp 'hoge--log-fatal) (fboundp 'hoge--log-error) (fboundp 'hoge--log-warn) (fboundp 'hoge--log-info) (fboundp 'hoge--log-debug) (fboundp 'hoge--log-trace) (fboundp 'hoge--log-clear-log) (fboundp 'hoge--log-open-log) (fboundp 'hoge--log-open-log-if-debug))) (desc "deflogger define custom function") (expect t (log4e:deflogger "fuga" "%m" "%S" '((fatal . "fat") (error . "err") (warn . "war") (info . "inf") (debug . "deb") (trace . "tra"))) (and (fboundp 'fuga--fat) (fboundp 'fuga--err) (fboundp 'fuga--war) (fboundp 'fuga--inf) (fboundp 'fuga--deb) (fboundp 'fuga--tra) (not (fboundp 'fuga--log-fatal)) (not (fboundp 'fuga--log-error)) (not (fboundp 'fuga--log-warn)) (not (fboundp 'fuga--log-info)) (not (fboundp 'fuga--log-debug)) (not (fboundp 'fuga--log-trace)))) ) aki2o-log4e-6d71462/test/level.el000066400000000000000000000104011455373554200164270ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "level default") (expect "test for fatal.\ntest for error.\ntest for warn.\ntest for info.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (makunbound 'log4e--min-level-hoge) (makunbound 'log4e--max-level-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "level set level") (expect "test for fatal.\ntest for error.\ntest for warn.\ntest for info.\ntest for debug.\ntest for trace.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (makunbound 'log4e--min-level-hoge) (makunbound 'log4e--max-level-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "level set level with maxlevel") (expect "test for warn.\ntest for info.\ntest for debug.\ntest for trace.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (makunbound 'log4e--min-level-hoge) (makunbound 'log4e--max-level-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'warn) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "level set level value typo 1") (expect "test for fatal.\ntest for error.\ntest for warn.\ntest for info.\ntest for debug.\ntest for trace.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (makunbound 'log4e--min-level-hoge) (makunbound 'log4e--max-level-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'debag) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "level set level value typo 2") (expect "test for fatal.\ntest for error.\ntest for warn.\ntest for info.\ntest for debug.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (makunbound 'log4e--min-level-hoge) (makunbound 'log4e--max-level-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'debug 'errrr) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "level set level value reverse") (expect "" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (makunbound 'log4e--min-level-hoge) (makunbound 'log4e--max-level-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'trace) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) ) aki2o-log4e-6d71462/test/logformat.el000066400000000000000000000033551455373554200173240ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "logformat 1") (expect 0 (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%t [%l] %m" "%H:%M:%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for %s : %s." "hoge" "fatal") (with-current-buffer " *log4e-hoge*" (string-match "\\`[0-9][0-9]:[0-9][0-9]:[0-9][0-9] \\[FATAL\\] test for hoge : fatal\\.\n\\'" (buffer-string)))) (desc "logformat 2") (expect 0 (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%l:[%t] %m" "%y/%m/%d %H:%M:%S") (hoge--log-set-level 'info 'info) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-info "test for %s." "hoge") (with-current-buffer " *log4e-hoge*" (string-match "\\`INFO :\\[[0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\] test for hoge\\.\n\\'" (buffer-string)))) (desc "logformat for each level") (expect "FATAL:It's fatal.\nERROR:It's error.\nWARN :It's warn.\nINFO :It's info.\nDEBUG:It's debug.\nTRACE:It's trace.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%l:%m" "%H:%M:%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "It's fatal.") (hoge--log-error "It's error.") (hoge--log-warn "It's warn.") (hoge--log-info "It's info.") (hoge--log-debug "It's debug.") (hoge--log-trace "It's trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) ) aki2o-log4e-6d71462/test/logging-by-macro.el000066400000000000000000000046441455373554200204710ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "logging by macro default") (expect "" (makunbound 'log4e--toggle-logging-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-clear-log) (hoge--log-fatal* "test for fatal.") (hoge--log-error* "test for error.") (hoge--log-warn* "test for warn.") (hoge--log-info* "test for info.") (hoge--log-debug* "test for debug.") (hoge--log-trace* "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "logging by macro enable") (expect "test for fatal.\ntest for error.\ntest for warn.\ntest for info.\ntest for debug.\ntest for trace.\n" (makunbound 'log4e--toggle-logging-hoge) (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal* "test for fatal.") (hoge--log-error* "test for error.") (hoge--log-warn* "test for warn.") (hoge--log-info* "test for info.") (hoge--log-debug* "test for debug.") (hoge--log-trace* "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "logging by macro disable") (expect "" (makunbound 'log4e--toggle-logging-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-enable-logging) (hoge--log-disable-logging) (hoge--log-clear-log) (hoge--log-fatal* "test for fatal.") (hoge--log-error* "test for error.") (hoge--log-warn* "test for warn.") (hoge--log-info* "test for info.") (hoge--log-debug* "test for debug.") (hoge--log-trace* "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "logging by macro no evaluation of argument") (expect "" (makunbound 'log4e--toggle-logging-hoge) (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'error) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal* "fatal : %s" (with-current-buffer " *log4e-hoge*" (insert "It's by macro argument!") (buffer-string))) (with-current-buffer " *log4e-hoge*" (buffer-string))) ) aki2o-log4e-6d71462/test/logging.el000066400000000000000000000046051455373554200167570ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "logging default") (expect "" (makunbound 'log4e--toggle-logging-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "logging enable") (expect "test for fatal.\ntest for error.\ntest for warn.\ntest for info.\ntest for debug.\ntest for trace.\n" (makunbound 'log4e--toggle-logging-hoge) (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "logging disable") (expect "" (makunbound 'log4e--toggle-logging-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-enable-logging) (hoge--log-disable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "logging evaluation of argument") (expect "It's by function argument!" (makunbound 'log4e--toggle-logging-hoge) (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'error) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "fatal : %s" (with-current-buffer " *log4e-hoge*" (insert "It's by function argument!") (buffer-string))) (with-current-buffer " *log4e-hoge*" (buffer-string))) ) aki2o-log4e-6d71462/test/messaging.el000066400000000000000000000036401455373554200173040ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "messaging default") (expect "" (makunbound 'log4e--messaging-buffer-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-enable-logging) (let ((pt (with-current-buffer (get-buffer "*Messages*") (point)))) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer (get-buffer "*Messages*") (buffer-substring-no-properties pt (point))))) (desc "messaging enable default") (expect "test for fatal. test for error. test for warn. test for info. test for debug. test for trace. " (hoge--log-enable-messaging) (let ((pt (with-current-buffer (get-buffer "*Messages*") (point))) (standard-output (get-buffer "*Messages*"))) (hoge--log-fatal "test for fatal.") (hoge--log-error "test for error.") (hoge--log-warn "test for warn.") (hoge--log-info "test for info.") (hoge--log-debug "test for debug.") (hoge--log-trace "test for trace.") (with-current-buffer (get-buffer "*Messages*") (buffer-substring-no-properties pt (point))))) (desc "messaging enable custom") (expect "test for fatal.\n" (let ((buf (generate-new-buffer " *Log4E*"))) (hoge--log-enable-messaging buf) (hoge--log-fatal "test for fatal.") (with-current-buffer buf (buffer-string)))) (desc "messaging disable") (expect "" (hoge--log-disable-messaging) (let ((pt (with-current-buffer (get-buffer "*Messages*") (point)))) (hoge--log-fatal "test for fatal.") (with-current-buffer (get-buffer "*Messages*") (buffer-substring-no-properties pt (point))))) ) aki2o-log4e-6d71462/test/move.el000066400000000000000000000031771455373554200163020ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "move next log") (expect "It's debug\nIt's error\nIt's trace\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "It's fatal\nIt's unknown\nIt's dummy") (hoge--log-debug "It's debug\nIt's hoge\nIt's fuga") (hoge--log-error "It's error\nIt's bar") (hoge--log-trace "It's trace") (with-current-buffer " *log4e-hoge*" (goto-char (point-min)) (let* ((ret "")) (while (and (< (point) (point-max)) (log4e:next-log)) (setq ret (concat ret (buffer-substring-no-properties (point-at-bol) (point-at-eol)) "\n"))) ret))) (desc "move previous log") (expect "It's trace\nIt's error\nIt's debug\nIt's fatal\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'trace 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "It's fatal\nIt's unknown\nIt's dummy") (hoge--log-debug "It's debug\nIt's hoge\nIt's fuga") (hoge--log-error "It's error\nIt's bar") (hoge--log-trace "It's trace") (with-current-buffer " *log4e-hoge*" (goto-char (point-max)) (let* ((ret "")) (while (and (> (point) (point-min)) (log4e:previous-log)) (setq ret (concat ret (buffer-substring-no-properties (point-at-bol) (point-at-eol)) "\n"))) ret))) ) aki2o-log4e-6d71462/test/msgarg.el000066400000000000000000000135371455373554200166150ustar00rootroot00000000000000;; -*- coding: utf-8 -*- (require 'log4e) (require 'el-expectations) (expectations (desc "msgarg string") (expect "test for 'hoge'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s'." "hoge") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg nil") (expect "test for 'nil'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s'." nil) (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg t") (expect "test for 't'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s'." t) (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg list") (expect "test for '(hoge nil t)'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s'." '("hoge" nil t)) (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg string within special char") (expect "test for 'hogefuga\\bar'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s'." "hoge\0fuga\\bar") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg japanese") (expect "test for 'これは試験デス'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s'." "これは試験デス") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg string within japanese") (expect "test for 'This is 試験デス Yo!'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s'." "This is 試験デス Yo!") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg quoted string") (expect "test for '\"hoge\"'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%S'." "hoge") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg quoted string within special char") (expect "test for '\"hogefuga\\\\bar\"'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%S'." "hoge\0fuga\\bar") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg integer") (expect "test for '52'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%d'." 52) (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg double") (expect "test for '3.140000'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%f'." 3.14) (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg wrong type") (expect "test for '=Format specifier doesn't match argument type='.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%d'." "52") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg mix") (expect "test for 'hoge', '52', '3.140000', '\"fuga\"'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s', '%d', '%f', '%S'." "hoge" 52 3.14 "fuga") (with-current-buffer " *log4e-hoge*" (buffer-string))) (desc "msgarg mix within wrong type") (expect "test for 'hoge', '=Format specifier doesn't match argument type=', '3.140000', '\"fuga\"'.\n" (makunbound 'log4e--log-template-hoge) (makunbound 'log4e--time-template-hoge) (log4e:deflogger "hoge" "%m" "%S") (hoge--log-set-level 'fatal 'fatal) (hoge--log-enable-logging) (hoge--log-clear-log) (hoge--log-fatal "test for '%s', '%d', '%f', '%S'." "hoge" "52" 3.14 "fuga") (with-current-buffer " *log4e-hoge*" (buffer-string))) ) aki2o-log4e-6d71462/test/open.el000066400000000000000000000016221455373554200162660ustar00rootroot00000000000000(require 'log4e) (require 'el-expectations) (expectations (desc "open log buffer") (expect " *log4e-hoge*" (log4e:deflogger "hoge" "%m" "%S") (hoge--log-enable-logging) (hoge--log-fatal "It's fatal.") (hoge--log-open-log) (buffer-name)) (desc "open killed log buffer") (expect "[Log4E] Not exist log buffer." (kill-buffer " *log4e-hoge*") (hoge--log-open-log)) (desc "open log buffer if debugging") (expect " *log4e-hoge*" (hoge--log-enable-logging) (hoge--log-enable-debugging) (hoge--log-fatal "It's fatal.") (hoge--log-open-log-if-debug) (buffer-name)) (desc "open log buffer if debugging") (expect t (delete-window) (hoge--log-enable-logging) (hoge--log-enable-debugging) (hoge--log-disable-debugging) (hoge--log-fatal "It's fatal.") (hoge--log-open-log-if-debug) (not (string= (buffer-name) " *log4e-hoge*"))) )