-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (26 loc) · 848 Bytes
/
index.html
File metadata and controls
30 lines (26 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>
<head>
<title>LogJS Functional Testing</title>
<script type='text/javascript' src='log.js'></script>
<script type='text/javascript'>
LogJS.config.DOMAppender = {
fontSize: '9pt'
};
LogJS.config.CORSAppender = {
targetUrl: 'http://localhost:3000/logger'
}
</script>
<script type='text/javascript' src='appenders/dom.js'></script>
</head>
<body>
LogJS Function Test
<script type='text/javascript'>
LogJS.info(LogJS.version);
LogJS.warn('A warning message!');
LogJS.error('An error message with a url', 'https://github.com/bfattori/LogJS');
LogJS.warn('A warning with a url and line number', 'https://github.com/bfattori/LogJS', 100);
LogJS.info('');
LogJS.info('Done logging');
</script>
</body>
</html>