1 /* |
1 /* |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
3 * |
3 * |
4 * Copyright 2013 Olaf Wintermann. All rights reserved. |
4 * Copyright 2015 Olaf Wintermann. All rights reserved. |
5 * |
5 * |
6 * Redistribution and use in source and binary forms, with or without |
6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are met: |
7 * modification, are permitted provided that the following conditions are met: |
8 * |
8 * |
9 * 1. Redistributions of source code must retain the above copyright |
9 * 1. Redistributions of source code must retain the above copyright |
160 * format is: |
160 * format is: |
161 * |
161 * |
162 * <code>[LEVEL] [TIMESTAMP] [SOURCEFILE]:[LINENO] message</code> |
162 * <code>[LEVEL] [TIMESTAMP] [SOURCEFILE]:[LINENO] message</code> |
163 * |
163 * |
164 * <b>Attention:</b> the message (including automatically generated information) |
164 * <b>Attention:</b> the message (including automatically generated information) |
165 * <b>MUST NOT</b> exceed the size of 4 KB. |
165 * is limited to 4096 characters. The level description is limited to |
|
166 * 256 characters and the timestamp string is limited to 128 characters. |
166 * |
167 * |
167 * @param logger the logger to use |
168 * @param logger the logger to use |
168 * @param level the level to log on |
169 * @param level the level to log on |
169 * @param file information about the source file |
170 * @param file information about the source file |
170 * @param line information about the source line number |
171 * @param line information about the source line number |