Greasy Fork is available in English.

InstaSynchP Logger

Log information with different levels

نووسەر
Zod-
Daily installs
0
Total installs
26
Ratings
0 0 0
وەشان
1.0.3
Created
2015-02-21
Updated
2015-05-10
مۆڵەت
MIT
Applies to

InstaSynchP-Logger

Logging framework made with log4javascript.

It adds a button to open/close the logger window in the settings tab in the chat.
There will be a notification when an error occurs with instructions on how to report it.

Framework

The logging object can be accessed with the library calling logger() or directly via plugins.logger.log. Be sure to include the name of the plugin in the logging information.

logger().info('name', 'information')
logger().debug('name', 'debug information')
logger().error('name', 'error information', errorObject)
//look up the framework for more

Public Variables

  • logger.log log4javascript object
  • logger.inPageAppender logger window on the page

License

The MIT License (MIT)

<InstaSynch - Watch Videos with friends.>
Copyright (c) 2014 InstaSynch

<Bibbytube - Modified InstaSynch client code>
Copyright (C) 2014 Zod-

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.