Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

TLog is not defined #28

Open
wackazong opened this issue Sep 6, 2013 · 4 comments
Open

TLog is not defined #28

wackazong opened this issue Sep 6, 2013 · 4 comments

Comments

@wackazong
Copy link

When I add the configuration code in a directory for both Server and Client, I get

ReferenceError: TLog is not defined

@wackazong
Copy link
Author

When I paste the two lines into the JS console on Chrome I get

logger = TLog.getLogger()
TLog {_currentLogLevel: 5, _printToConsole: false, _log_user: true, _logs: Meteor.Collection, setOptions: function…}

logger.setOptions(TLog.LOGLEVEL_MAX,true, true, true);
[6/9][23:42:28.736][CLIENT][Observatory][verbose][ALEXander] Setting log options with level max, print to console: true, log user: true, http logging: true observatory-apollo.js?fbba717cf32d263b147ef51d24d600cf7a2aacc5:479
undefined
insert failed: Method not found meteor.js?701b92c6c05538cfff59c73f747498bf49ff73b1:708

@wackazong
Copy link
Author

When I after manual init try to do logger.warn instead of TL.warn then a log line flashes, but disappears immediately. and I get the following console log:

logger.warn("2adgfasdfasdfasdfasdf")
[6/9][23:56:35.100][CLIENT][][warning][ALEXander] 2adgfasdfasdfasdfasdf observatory-apollo.js?fbba717cf32d263b147ef51d24d600cf7a2aacc5:479
insert failed: Method not found meteor.js?701b92c6c05538cfff59c73f747498bf49ff73b1:708

@wackazong
Copy link
Author

This also happens with a plain leaderboard example.

@jhoxray
Copy link
Member

jhoxray commented Sep 10, 2013

@wackazong please do mrt update - just rolled out a major release that should fix it. Also changed architecture, making it much more flexible, so API has changed as well - please refer to http://observatoryjs.com for details. However, the release is backward compatible, so TLog stuff should also work. Please let us know if there are still any issues. Thanks!

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

No branches or pull requests

2 participants